moby--moby/integration/container
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
..
checkpoint_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
container_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
copy_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
create_test.go Check tmpfs mounts before create anon volume 2020-02-04 10:12:05 -08:00
daemon_linux_test.go Support host.docker.internal in dockerd on Linux 2020-01-22 13:30:00 -08:00
diff_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
exec_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
export_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
health_test.go Skip TestHealthKillContainer on Windows 2019-07-19 16:09:50 +02:00
inspect_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
ipcmode_linux_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
kill_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
links_linux_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
logs_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
mounts_linux_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
nat_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
pause_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
ps_test.go integration: change container.Create signature to fix linting 2019-06-07 13:04:44 +02:00
remove_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
rename_test.go Merge pull request #39336 from justincormack/entropy-cannot-be-saved 2019-06-11 18:40:19 +02:00
resize_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
restart_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
run_cgroupns_linux_test.go cgroup2: enable cgroup namespace by default 2020-01-01 02:58:40 +09:00
run_linux_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
stats_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
stop_linux_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
stop_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
stop_windows_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
update_linux_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
update_test.go integration: change container.Run signature to fix linting 2019-06-07 13:05:26 +02:00
wait_test.go misspell: fix some spelling issues 2019-09-18 12:57:48 +02:00