docker-archive / dockercloud-cli

CLI for Docker Cloud
https://cloud.docker.com/
Apache License 2.0
74 stars 40 forks source link

Multiple ports should be supported by service create -p option #10

Open arun-gupta opened 8 years ago

arun-gupta commented 8 years ago

docker CLI allows multiple ports to be supported using -p 8091-8093:8091-8093 format.

docker-cloud CLI gives the following error:

docker-cloud service create -p 8091-8093:8091-8093 -p 11210:11210 arungupta/couchbase 
publish port 8091-8093:8091-8093 does not match with '[host_port:]container_port[/protocol]'. E.g: 80:80/tcp

docker CLI format should be supported here.