1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
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
..
cluster daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
config Add GoDoc to fix linting validation 2019-10-21 21:36:22 +02:00
discovery
events daemon/events/testutils: remove redundant variable 2019-10-18 00:45:35 +02:00
exec
graphdriver Fix/improve overlay support check 2019-11-08 11:49:39 -08:00
images Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
initlayer
links
listeners goimports: fix imports 2019-09-18 12:56:54 +02:00
logger awslogs & archive: prevent 2 goroutine leaks in test functions 2019-10-29 17:03:38 -04:00
names
network
stats
testdata
apparmor_default.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
apparmor_default_unsupported.go
archive.go
archive_tarcopyoptions.go
archive_tarcopyoptions_unix.go
archive_tarcopyoptions_windows.go
archive_unix.go
archive_windows.go
attach.go
auth.go
changes.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
checkpoint.go daemon/checkpoint: rm extra checks 2019-09-18 12:57:22 +02:00
cluster.go
commit.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
configs.go
configs_linux.go
configs_unsupported.go
configs_windows.go
container.go
container_linux.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
container_operations.go daemon: S1033: unnecessary guard around call to delete (gosimple) 2019-10-18 00:45:46 +02:00
container_operations_unix.go
container_operations_windows.go
container_unix_test.go
container_windows.go
create.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
create_test.go
create_unix.go
create_windows.go
daemon.go Merge pull request #40032 from jmartin84/fix-grpc-withdialer-deprecation-warning 2019-11-05 12:20:33 -08:00
daemon_linux.go
daemon_linux_test.go
daemon_test.go
daemon_unix.go Fix docker crash when creating namespaces with UID in /etc/subuid and /etc/subgid 2019-11-07 20:17:11 +00:00
daemon_unix_test.go
daemon_unsupported.go
daemon_windows.go Use hcsshim osversion package for Windows versions 2019-10-22 02:53:00 +02:00
daemon_windows_test.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go
delete_test.go
dependency.go
devices_linux.go
disk_usage.go
errors.go
events.go
events_test.go
exec.go goimports: fix imports 2019-09-18 12:56:54 +02:00
exec_linux.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
exec_linux_test.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
exec_windows.go
export.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
health.go
health_test.go
info.go daemon/info: remove use of docker/go-connections 2019-09-25 11:00:40 +02:00
info_test.go
info_unix.go
info_unix_test.go unconvert: remove unnescessary conversions 2019-09-18 12:57:33 +02:00
info_windows.go
inspect.go
inspect_linux.go
inspect_test.go
inspect_windows.go
keys.go
keys_unsupported.go
kill.go
licensing.go
licensing_test.go
links.go
list.go
list_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go
logs_test.go
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
metrics_unix.go goimports: fix imports 2019-09-18 12:56:54 +02:00
metrics_unsupported.go
monitor.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
mounts.go
names.go
network.go
network_windows.go
nvidia_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_linux.go Merge pull request #40083 from thaJeztah/daemon_consts 2019-10-17 11:12:37 -07:00
oci_linux_test.go
oci_utils.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_windows.go Use hcsshim osversion package for Windows versions 2019-10-22 02:53:00 +02:00
oci_windows_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00
pause.go
prune.go
reload.go Adding ability to change max download attempts 2019-09-19 13:51:40 +02:00
reload_test.go
reload_unix.go
reload_windows.go
rename.go
resize.go
resize_test.go
restart.go
seccomp_disabled.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
seccomp_linux.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
seccomp_unsupported.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
secrets.go
secrets_linux.go
secrets_unsupported.go
secrets_windows.go
selinux_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
selinux_unsupported.go
start.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
start_unix.go
start_windows.go Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
stats.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
stats_collector.go
stats_unix.go
stats_windows.go
stop.go
top_unix.go
top_unix_test.go
top_windows.go goimports: fix imports 2019-09-18 12:56:54 +02:00
trustkey.go
trustkey_test.go
unpause.go
update.go
update_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
update_windows.go
util_test.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
volumes.go
volumes_linux.go
volumes_linux_test.go
volumes_unit_test.go
volumes_unix.go
volumes_unix_test.go
volumes_windows.go
wait.go
workdir.go