dockercloud-cli
dockercloud-cli copied to clipboard
Creating a Service inside a Stack (from the CLI)
I'm trying to create a brand new service inside a specific Stack, which is possible from the dashboard

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