1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 10:11:46 +00:00

Support user Docker userns-remap (#63)

This commit is contained in:
Olli Janatuinen
2021-02-19 14:38:44 +02:00
committed by GitHub
parent af08844a9a
commit 0c950bd3ea
6 changed files with 20 additions and 2 deletions

View File

@@ -20,6 +20,11 @@ func (d *DockerConfig) FullArgs() []string {
if d.TLS {
args = append(args, d.TLSArgs...)
}
if d.UserNsEnabled {
args = append(args, "--userns-remap")
args = append(args, "user-docker:user-docker")
}
return args
}