You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2018/02/08 17:34:00 UTC

[jira] [Commented] (MESOS-7450) Docker containerizer will leak dangling symlinks if restarted with a colon in the sandbox path

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

Jie Yu commented on MESOS-7450:
-------------------------------

[~kaysoky] is this still an issue?

> 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)