dockercloud-cli icon indicating copy to clipboard operation
dockercloud-cli copied to clipboard

Creating a Service inside a Stack (from the CLI)

Open matiasdecarli opened this issue 9 years ago • 0 comments

I'm trying to create a brand new service inside a specific Stack, which is possible from the dashboard

image

Is there any way to achieve this very same thing from the CLI?

➜  docker-cloud docker-cloud service create --help
usage: docker-cloud service create [-h] [-n NAME] [--cpushares CPUSHARES]
                                   [--memory MEMORY] [--privileged]
                                   [-t TARGET_NUM_CONTAINERS] [-r RUN_COMMAND]
                                   [--entrypoint ENTRYPOINT] [-p PUBLISH]
                                   [--expose EXPOSE] [-e ENV]
                                   [--env-file ENV_FILE] [--tag TAG]
                                   [--link-service LINK_SERVICE]
                                   [--autodestroy {OFF,ON_SUCCESS,ALWAYS}]
                                   [--autoredeploy]
                                   [--autorestart {OFF,ON_FAILURE,ALWAYS}]
                                   [--role ROLE] [--sequential] [-v VOLUME]
                                   [--volumes-from VOLUMES_FROM]
                                   [--deployment-strategy {EMPTIEST_NODE,HIGH_AVAILABILITY,EVERY_NODE}]
                                   [--sync] [--net NET] [--pid PID]
                                   image

matiasdecarli avatar Aug 04 '16 17:08 matiasdecarli