mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-8509) Launching a Docker container with `--restart=always` may cause the Docker container is running after the task completes
Date Tue, 30 Jan 2018 14:57:00 GMT
Qian Zhang created MESOS-8509:
---------------------------------

             Summary: Launching a Docker container with `--restart=always` may cause the Docker
container is running after the task completes
                 Key: MESOS-8509
                 URL: https://issues.apache.org/jira/browse/MESOS-8509
             Project: Mesos
          Issue Type: Bug
          Components: docker
            Reporter: Qian Zhang


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message