Files
docker-cli/components/engine/daemon
Aleksa Sarai 77fe26d1a3 daemon: oci: obey CL_UNPRIVILEGED for user namespaced daemon
When runc is bind-mounting a particular path "with options", it has to
do so by first creating a bind-mount and the modifying the options of
said bind-mount via remount. However, in a user namespace, there are
restrictions on which flags you can change with a remount (due to
CL_UNPRIVILEGED being set in this instance). Docker historically has
ignored this, and as a result, internal Docker mounts (such as secrets)
haven't worked with --userns-remap. Fix this by preserving
CL_UNPRIVILEGED mount flags when Docker is spawning containers with user
namespaces enabled.

Ref: https://github.com/opencontainers/runc/pull/1603
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Upstream-commit: c0f883fdeeb2480970fb48fbcbc2a842aa5a90e8
Component: engine
2017-10-16 02:52:56 +11:00
..
2017-09-08 18:23:21 -04:00
2017-09-12 12:09:59 -04:00
2017-08-24 15:08:31 -04:00
2017-09-06 12:05:19 -04:00
2017-07-31 13:16:46 -07:00
2017-05-16 14:25:32 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-07-13 12:35:00 -07:00
2017-09-08 18:23:21 -04:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-08-24 15:08:26 -04:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:18:50 -04:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-07-31 13:16:46 -07:00
2017-08-24 15:08:31 -04:00
2017-10-09 13:47:28 -07:00
2017-09-07 09:44:08 +08:00
2017-07-18 12:09:26 +08:00
2017-07-31 13:16:46 -07:00
2017-09-12 12:09:59 -04:00
2017-08-18 14:23:44 -04:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-05-16 11:30:06 -07:00
2017-07-31 13:16:46 -07:00
2017-09-07 09:44:08 +08:00
2017-09-12 12:09:59 -04:00
2017-09-06 12:05:19 -04:00
2017-09-06 12:05:19 -04:00
2017-07-03 13:13:09 -07:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00