moby/api/server
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
..
backend/build Use the image service instead of the reference store for tagging 2023-04-26 15:10:01 +02:00
httpstatus use consistent alias for containerd's errdefs package 2023-04-08 19:30:33 +02:00
httputils chore: use http constants to replace numbers 2023-02-21 23:02:56 +08:00
middleware api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
router Support recursively read-only (RRO) mounts 2023-05-26 01:58:24 +09:00
errorhandler.go errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus 2022-03-21 12:22:39 +01:00
middleware.go api/server: remove "Logging" from config 2022-04-23 23:38:30 +02:00
server.go cmd/dockerd: gracefully shut down the API server 2023-04-26 10:57:28 -04:00
server_test.go api/server: drop unused Config struct 2023-02-28 13:49:53 -05:00