Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.20.0
-
None
Description
You cannot specify a port number for the host of a private docker repository. Specified as follows:
"container": { "type": "DOCKER", "docker": { "image": "docker-repo:5000/app-base:v0.1" } }
results in an error:
Aug 29 14:33:29 ip-172-16-2-22 mesos-slave[1128]: E0829 14:33:29.487470 1153 slave.cpp:2484] Container '250e0479-552f-4e6f-81dd-71550e45adae' for executor 't1-java.71d50bd1-2f89-11e4-ba9a-0adfe6b11716' of framework '20140829-121838-184684716-5050-1177-0000' failed to start:Not expecting multiple ':' in image: docker-repo:5000/app-base:v0.1
The message indicates only one colon character is allowed, but to supply a port number for a private docker repository host you need to have two colons.
Also if you use a '-' character in a host name you also get an error:
Invalid namespace name (docker-repo), only [a-z0-9_] are allowed, size between 4 and 30
The hostname parts should not be limited to [a-z0-9_].
Attachments
Issue Links
- is duplicated by
-
MESOS-1724 Can't include port in DockerInfo's image
- Resolved