Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
If user launches a task (e.g., sleep 10) using the Docker containerizer to run a Docker container with `–restart=always` option (it can be enabled with `ContainerInfo.DockerInfo.parameters`), after the task completes, the Docker container will be stopped and will not be automatically started again (because Docker container's restart policy is ignored if the container is manually stopped) which is good. But when the Docker daemon is restarted (e.g., the agent host is rebooted), that Docker container will be automatically started by Docker daemon which is obviously not what we want.
Attachments
Issue Links
- is related to
-
MESOS-8981 When Docker daemon restarts, Mesos slave does not know about this container
- Open