[ 
https://issues.apache.org/jira/browse/MESOS-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240330#comment-15240330
 ] 

Cody Maloney commented on MESOS-5211:
-------------------------------------

That's related purely to the unified containerizer. 

It's a bug currently that mesos inspects docker containerizer docker image 
names for a {{:}}, and if it isn't there, always forcibly appends {{:latest}}.

The bugfixing for the unified containerizer to not just check "has_tag" then 
assume it should use latest definitely could be covered by MESOS-3505

> Allow docker puller to use docker image IDs in addition to tags
> ---------------------------------------------------------------
>
>                 Key: MESOS-5211
>                 URL: https://issues.apache.org/jira/browse/MESOS-5211
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, docker
>    Affects Versions: 0.28.0
>            Reporter: Cody Maloney
>              Labels: containerizer, docker, mesosphere
>
> Docker added support for a {{@<digest>}} format instead of {{:<tag>}} in [1.6 
> via pull 11109|https://github.com/docker/docker/pull/11109]. 
> The {{@<digest>}} is useful because it allows reference to specific set of 
> bits, rather than a tag (such as {{:latest}}) which can change over time.
> Currently a number of code paths, such as the [Mesos Docker 
> code|https://github.com/apache/mesos/blob/df29bf0338771c92d1b1d3848181a35429cdcf0f/src/docker/docker.cpp#L1070],
>  the [Mesos Containerizer Docker 
> Provisioner|https://github.com/apache/mesos/blob/df29bf0338771c92d1b1d3848181a35429cdcf0f/src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp#L206]
>  do not support pulling / fetching docker containers by id.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to