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

Multiple ports should be supported by service create -p option

Open arun-gupta opened this issue 9 years ago • 0 comments

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.

arun-gupta avatar Mar 14 '16 22:03 arun-gupta