mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Zhang (JIRA)" <>
Subject [jira] [Created] (MESOS-8640) Validate `DockerInfo` exists when container's type is `DOCKER`
Date Tue, 06 Mar 2018 02:05:00 GMT
Qian Zhang created MESOS-8640:

             Summary: Validate `DockerInfo` exists when container's type is `DOCKER`
                 Key: MESOS-8640
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: Qian Zhang
            Assignee: Qian Zhang

Currently when framework launches a task whose ContainerInfo's type is DOCKER (i.e., Docker
containerizer will be used to launch the container), we do not validate if the `DockerInfo`
exists in the ContainerInfo, so such task will be sent from master to agent, and will eventually
fail due to pulling image with empty name.
Failed to launch container: Failed to run 'docker -H unix:///var/run/docker.sock pull :latest':
exited with status 1; stderr='invalid reference format'

Actually we have a validation inĀ [this code|],
but it is too late (i.e., when Docker executor tries to create the Docker container), we should
do the validation much earlier, e.g., in master.

This message was sent by Atlassian JIRA

View raw message