Closed arun-gupta closed 8 years ago
docker-cloud service create need to include a new parameter that will allow to specify the node cluster during service creation.
docker-cloud service create
The current usage is:
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
Container placement is done using tags, not directly specifying node clusters: https://docs.docker.com/docker-cloud/feature-reference/deploy-tags/
docker-cloud service create
need to include a new parameter that will allow to specify the node cluster during service creation.The current usage is: