Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 76
-
2
Description
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.
Attachments
Issue Links
- is depended upon by
-
MESOS-8497 Docker parameter `name` does not work with Docker Containerizer.
- Resolved