moby--moby/daemon/graphdriver/overlay2
Derek McGowan 477bf1e413
Fix overlay2 busy error on mount
When mounting overlays which have children, enforce that
the mount is always performed as read only. Newer versions
of the kernel return a device busy error when a lower directory
is in use as an upper directory in another overlay mount.

Adds committed file to indicate when an overlay is being used
as a parent, ensuring it will no longer be mounted with an
upper directory.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-21 15:03:52 -07:00
..
check.go change hard code: add some overlay2 constant to replace the hard code. 2019-04-02 10:57:13 +08:00
mount.go Add canonical import comment 2018-02-05 16:51:57 -05:00
overlay.go Fix overlay2 busy error on mount 2019-08-21 15:03:52 -07:00
overlay_test.go Update overlay2 to use naive diff for changes 2018-06-20 11:07:36 -07:00
overlay_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
randomid.go overlay2: use global logger instance 2018-10-11 12:50:45 -07:00