moby/integration/container
Akihiro Suda 5045a2de24
Support recursively read-only (RRO) mounts
`docker run -v /foo:/foo:ro` is now recursively read-only on kernel >= 5.12.

Automatically falls back to the legacy non-recursively read-only mount mode on kernel < 5.12.

Use `ro-non-recursive` to disable RRO.
Use `ro-force-recursive` or `rro` to explicitly enable RRO. (Fails on kernel < 5.12)

Fix issue 44978
Fix docker/for-linux issue 788

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-26 01:58:24 +09:00
..
testdata/cdi Add support for CDI devices to docker daemon under linux 2023-05-16 17:07:57 +02:00
attach_test.go Make it explicit raw|multiplexed stream implementation being used 2022-05-12 11:36:31 +02:00
cdi_test.go Remove need to set Capabilities for cdi driver 2023-05-16 17:07:58 +02:00
checkpoint_test.go integration(-cli): remove some redundant formatting 2022-10-08 17:41:39 +02:00
container_test.go runconfig: ContainerDecoder(): fix handling of invalid JSON 2022-04-11 21:44:45 +02:00
copy_test.go integration: update error-assertions in tests 2023-05-10 22:13:50 +02:00
create_test.go integration: update error-assertions in tests 2023-05-10 22:13:50 +02:00
daemon_linux_test.go integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
daemon_test.go On startup, actually shutdown the container. 2020-04-13 14:20:12 -07:00
devices_windows_test.go Suport vpci-class-guid in the non-containerd backend 2022-03-27 13:26:47 +11:00
diff_test.go api/types/container: create type for changes endpoint 2023-05-03 21:23:42 +02:00
exec_linux_test.go container/exec: Support ConsoleSize 2022-06-24 11:54:25 +02:00
exec_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
export_test.go Using test names instead of hardcoded ones in integration/container directory 2020-05-18 16:37:04 +01:00
health_test.go Merge pull request #43997 from thaJeztah/healthcheck_capture_logs 2022-09-02 10:48:22 +02:00
inspect_test.go daemon: add annotations to container HostConfig 2023-02-23 18:59:00 -05:00
ipcmode_linux_test.go rootless: support --ipc=host 2023-01-21 01:00:27 +09:00
kill_test.go integration/TestKillContainer: Bigger timeout on Windows 2023-04-25 11:59:54 +02:00
links_linux_test.go integration: inline filters in tests 2023-04-25 15:15:50 +02:00
logs_test.go integration: Extract StopContainerWindowsPollTimeout const 2023-03-06 16:21:55 +01:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
mounts_linux_test.go Support recursively read-only (RRO) mounts 2023-05-26 01:58:24 +09:00
nat_test.go integration: TestNetworkLoopbackNat is broken on GitHub Runner 2022-09-07 22:52:34 +02:00
pause_test.go use consistent alias for containerd's errdefs package 2023-04-08 19:30:33 +02:00
pidmode_linux_test.go rootless: support --pid=host 2021-02-01 14:55:18 +09:00
ps_test.go integration: inline filters in tests 2023-04-25 15:15:50 +02:00
remove_test.go api: add types/volume.ListOptions for a more consistent API 2022-08-03 23:30:28 +02:00
rename_test.go client: ContainerStop(), ContainerRestart(): support stop-signal 2022-04-20 21:29:34 +02:00
resize_test.go Prepare tests for Windows containerd support 2021-04-22 10:50:00 +03:00
restart_test.go TestDaemonRestartKillContainers: Fix loop capture 2023-03-20 16:16:42 +01:00
run_cgroupns_linux_test.go integration: port TestRunModePIDHost from CLI test to API test 2021-02-01 14:54:07 +09:00
run_linux_test.go Allow containerd shim refs in default-runtime 2022-08-18 18:41:03 +00:00
stats_test.go Merge pull request #40478 from cpuguy83/dont-prime-the-stats 2020-04-16 20:57:06 +02:00
stop_linux_test.go remove deprecated devicemapper storage-driver 2023-04-20 23:51:54 +02:00
stop_test.go integration: Extract StopContainerWindowsPollTimeout const 2023-03-06 16:21:55 +01:00
stop_windows_test.go client: ContainerStop(), ContainerRestart(): support stop-signal 2022-04-20 21:29:34 +02:00
update_linux_test.go test-integration: support cgroup2 2020-06-22 14:17:45 +09:00
update_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
wait_test.go integration: Extract StopContainerWindowsPollTimeout const 2023-03-06 16:21:55 +01:00