1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Brian Goff f464c31668 Check tmpfs mounts before create anon volume
This makes sure that things like `--tmpfs` mounts over an anonymous
volume don't create volumes uneccessarily.
One method only checks mountpoints, the other checks both mountpoints
and tmpfs... the usage of these should likely be consolidated.

Ideally, processing for `--tmpfs` mounts would get merged in with the
rest of the mount parsing. I opted not to do that for this change so the
fix is minimal and can potentially be backported with fewer changes of
breaking things.
Merging the mount processing for tmpfs can be handled in a followup.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-02-04 10:12:05 -08:00
..
cluster Add swarm jobs 2020-01-13 13:21:12 -06:00
config Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
discovery
events daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
exec
graphdriver daemon/graphdriver: normalize comment formatting 2019-11-27 15:43:23 +01:00
images daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
initlayer Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
links daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
listeners goimports: fix imports 2019-09-18 12:56:54 +02:00
logger daemon/logger: normalize comment formatting 2019-11-27 15:42:27 +01:00
names
network Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
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 Merge pull request #40291 from akhilerm/privileged-device 2020-01-02 10:09:31 -08:00
container_linux.go daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
container_operations.go Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
container_operations_unix.go
container_operations_windows.go
container_unix_test.go daemon: suppress logs in unit tests 2019-10-18 00:57:56 +02:00
container_windows.go
create.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
create_test.go
create_unix.go Check tmpfs mounts before create anon volume 2020-02-04 10:12:05 -08:00
create_windows.go
daemon.go cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
daemon_linux.go
daemon_linux_test.go
daemon_test.go
daemon_unix.go Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
daemon_unix_test.go daemon: suppress logs in unit tests 2019-10-18 00:57:56 +02:00
daemon_unsupported.go
daemon_windows.go cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
daemon_windows_test.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go Use newer x/sys/windows SecurityAttributes struct 2019-10-02 21:12:23 +02:00
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 daemon: suppress logs in unit tests 2019-10-18 00:57:56 +02:00
info.go daemon/info: remove use of docker/go-connections 2019-09-25 11:00:40 +02:00
info_test.go
info_unix.go prevent panic if TINI_COMMIT isn't set during build 2020-01-10 15:27:20 +01:00
info_unix_test.go Merge pull request #39940 from carlosedp/runtime-version 2019-11-26 09:55:53 +09: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 daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
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 daemon.getEndpointInNetwork() is only used on Windows 2019-09-18 12:55:46 +02:00
network_windows.go daemon.getEndpointInNetwork() is only used on Windows 2019-09-18 12:55:46 +02:00
nvidia_linux.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_linux.go Merge pull request #40174 from AkihiroSuda/cgroup2 2020-01-09 20:09:11 +01:00
oci_linux_test.go
oci_utils.go goimports: fix imports 2019-09-18 12:56:54 +02:00
oci_windows.go Move DefaultCapabilities() to caps package 2019-11-14 21:13:16 +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 daemon: suppress logs in unit tests 2019-10-18 00:57:56 +02:00
reload_unix.go
reload_windows.go
rename.go
resize.go
resize_test.go
restart.go Windows: Fix restart for Hyper-V containers 2019-02-22 10:37:39 -08:00
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 cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
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 daemon/top_unix_test: cleanup test cases and use subtests 2019-10-16 03:55:54 +02:00
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