moby/api/server/router
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
..
build api/server: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
checkpoint api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
container Support recursively read-only (RRO) mounts 2023-05-26 01:58:24 +09:00
debug Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
distribution fixing consistent aliases for OCI spec imports 2023-05-08 15:27:52 +05:30
grpc api/server/router/grpc: fix some nits in NewRouter() 2022-04-07 16:06:15 +02:00
image api/inspect: Fix nil RepoTags and RepoDigests 2023-05-18 15:57:18 +02:00
network api/server/httputils: add ReadJSON() utility 2022-04-11 21:37:51 +02:00
plugin api: add registry.DecodeAuthConfig, registry.DecodeAuthConfigBody 2022-07-29 23:11:13 +02:00
session move /session api endpoint out of experimental 2018-08-21 22:43:34 +00:00
swarm api/s/r/swarm: log backend errors at Debug level 2023-02-15 13:49:43 -05:00
system API: omit deprecated VirtualSize field for API v1.44 and up 2023-05-06 16:35:00 +02:00
volume volumes: fix error-handling when removing volumes with swarm enabled 2023-03-13 19:17:35 +01:00
experimental.go fix typos 2018-09-01 21:26:38 +08:00
local.go api/server/router: use consts for HTTP methods 2019-11-26 21:55:29 +01:00
router.go Add canonical import comment 2018-02-05 16:51:57 -05:00