mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6993e891d1
Following #19995 and #17409 this PR enables skipping userns re-mapping when creating a container (or when executing a command). Thus, enabling privileged containers running side by side with userns remapped containers. The feature is enabled by specifying ```--userns:host```, which will not remapped the user if userns are applied. If this flag is not specified, the existing behavior (which blocks specific privileged operation) remains. Signed-off-by: Liron Levin <liron@twistlock.com> |
||
---|---|---|
.. | ||
fixtures | ||
opts | ||
compare.go | ||
compare_test.go | ||
config.go | ||
config_test.go | ||
config_unix.go | ||
config_windows.go | ||
errors.go | ||
hostconfig.go | ||
hostconfig_test.go | ||
hostconfig_unix.go | ||
hostconfig_windows.go | ||
streams.go |