mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![]() This removes and recreates the merged dir with each umount/mount respectively. This is done to make the impact of leaking mountpoints have less user-visible impact. It's fairly easy to accidentally leak mountpoints (even if moby doesn't, other tools on linux like 'unshare' are quite able to incidentally do so). As of recently, overlayfs reacts to these mounts being leaked (see One trick to force an unmount is to remove the mounted directory and recreate it. Devicemapper now does this, overlay can follow suit. Signed-off-by: Euan Kemp <euan.kemp@coreos.com> |
||
---|---|---|
.. | ||
overlay.go | ||
overlay_test.go | ||
overlay_unsupported.go |