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

Joseph Wu commented on MESOS-7450:
----------------------------------

Yes.  Here's a relevant TODO:
https://github.com/apache/mesos/blob/c665dd6c22715fa941200020a8f7209f1f5b1ca1/src/slave/containerizer/docker.hpp#L445-L448

> Docker containerizer will leak dangling symlinks if restarted with a colon in 
> the sandbox path
> ----------------------------------------------------------------------------------------------
>
>                 Key: MESOS-7450
>                 URL: https://issues.apache.org/jira/browse/MESOS-7450
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, docker
>    Affects Versions: 0.21.0, 1.2.0
>            Reporter: Joseph Wu
>            Priority: Major
>              Labels: mesosphere
>
> The Docker CLI has a limitation, which was worked around in MESOS-1833.
> TL;DR: If you launch a container with a colon ({{:}}) in the sandbox path, we 
> will create a symlink to that path and mount that symlink into the Docker 
> container.
> However, when you restart the Mesos agent after launching a container like 
> the above, the Docker containerizer will "forget" about the symlink and 
> thereby not clean it up when the container exits.  We will still GC the 
> actual sandbox, but not the symlink.



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

Reply via email to