You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2016/01/16 07:07:39 UTC

[jira] [Commented] (MESOS-4391) docker pull a remote image conflict

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

Klaus Ma commented on MESOS-4391:
---------------------------------

Good finding :).

Seems it should be handled by Docker Daemon, not sure Docker's current behaviour: pull image by two process, or only one process is fetching the image and the other is waiting for it. [~jieyu]/[~qianzhang], do you know any detail of that? If not, maybe it can be enhanced by one docker executor instead of one docker executor per task. For example, sync up with docker daemon when executor launched; pending coming tasks until the required image is ready.

> docker pull a remote image conflict
> -----------------------------------
>
>                 Key: MESOS-4391
>                 URL: https://issues.apache.org/jira/browse/MESOS-4391
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker, framework
>    Affects Versions: 0.26.0
>         Environment: CentOS Linux release 7.2.1511 (Core)
> 3.10.0-327.el7.x86_64
>            Reporter: qinlu
>
> I run a docker app with 3 tasks,and the docker image not exist in the slave ,it must to pull from docker.io.
> Marathon assign 2 app run in a slave,and the last in another.
> I see the log by journalctl,it show me like this :level=error msg="HTTP Error" err="No such image: solr:latest" statusCode=404.
> There is two threads to pull the image
> [root@** ~]# ps -ef|grep solr
> root     30113 10735  0 12:17 ?        00:00:00 docker -H unix:///var/run/docker.sock pull solr:latest
> root     30114 10735  0 12:17 ?        00:00:00 docker -H unix:///var/run/docker.sock pull solr:latest



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