1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Kir Kolyshkin 649e4c8889 Fix/improve overlay support check
Before this commit, overlay check was performed by looking for
`overlay` in /proc/filesystem. This obviously might not work
for rootless Docker (fs is there, but one can't use it as non-root).

This commit changes the check to perform the actual mount, by reusing
the code previously written to check for multiple lower dirs support.

The old check is removed from both drivers, as well as the additional
check for the multiple lower dirs support in overlay2 since it's now
a part of the main check.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-11-08 11:49:39 -08:00
..
aufs aufs: SA4011: did you mean to break out of the outer loop? (staticcheck) 2019-10-18 00:46:00 +02:00
btrfs graphdriver/btrfs: SA4003: no value of type uint64 is less than 0 (staticcheck) 2019-10-18 00:45:39 +02:00
copy daemon/graphdriver/copy: rm dead code 2019-09-18 12:57:23 +02:00
devmapper devmapper: fix unit test 2019-10-07 13:21:14 -07:00
graphtest goimports: fix imports 2019-09-18 12:56:54 +02:00
lcow Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
overlay Fix/improve overlay support check 2019-11-08 11:49:39 -08:00
overlay2 Fix/improve overlay support check 2019-11-08 11:49:39 -08:00
overlayutils Fix/improve overlay support check 2019-11-08 11:49:39 -08:00
quota projectquota: protect concurrent map access 2019-08-01 09:58:34 -07:00
register Add canonical import comment 2018-02-05 16:51:57 -05:00
vfs structcheck: nolint for false positives 2019-09-18 12:57:44 +02:00
windows Use hcsshim osversion package for Windows versions 2019-10-22 02:53:00 +02:00
zfs zfs: fix incorrect permissions (staticcheck) 2019-08-06 00:46:47 +02:00
counter.go graphdriver: Fix RefCounter memory leak 2018-02-09 10:26:06 +08:00
driver.go Deprecate AuFS storage driver, and add warning 2018-10-26 18:41:46 +02:00
driver_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_linux.go graphdriver.Mounted(): ignore ENOENT 2019-05-24 12:56:00 -07:00
driver_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
driver_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fsdiff.go Add layer id to NaiveDiffDriver untar timing log 2018-10-05 16:28:40 -07:00
plugin.go goimports: fix imports 2019-09-18 12:56:54 +02:00
proxy.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00