You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Timothy Chen (JIRA)" <ji...@apache.org> on 2014/08/20 06:57:18 UTC
[jira] [Commented] (MESOS-1724) Can't include port in DockerInfo's
image
[ https://issues.apache.org/jira/browse/MESOS-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103369#comment-14103369 ]
Timothy Chen commented on MESOS-1724:
-------------------------------------
I'm not able to create a docker image with colon in the name though:
2014/08/20 04:55:39 Invalid repository name (test:1234), only [a-z0-9-_.] are allowed
> Can't include port in DockerInfo's image
> ----------------------------------------
>
> Key: MESOS-1724
> URL: https://issues.apache.org/jira/browse/MESOS-1724
> Project: Mesos
> Issue Type: Bug
> Components: containerization
> Reporter: Jay Buffington
> Priority: Minor
> Labels: docker
>
> The current git tree doesn't allow you to specify a docker image with multiple colons. It is valid that multiple colons would exist in a docker image. e.g. docker-registry.example.com:80/centos:6u5
> From https://github.com/apache/mesos/blob/02a35ab213fb074f6c532075cada76f13eb9d552/src/slave/containerizer/docker.cpp#L441
> {code}
> vector<string> parts = strings::split(dockerInfo.image(), ":");
> if (parts.size() > 2) {
> return Failure("Not expecting multiple ':' in image: " +
> dockerInfo.image());
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)