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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user