Disable user namespace remapping in docker-container driver

Signed-off-by: Andrew Haines <andrew.haines@zencargo.com>
pull/462/head
Andrew Haines 4 years ago
parent 1ccf0bd7d8
commit 37020dc8da
No known key found for this signature in database
GPG Key ID: 8435B896683B974A

@ -93,6 +93,7 @@ func (d *Driver) create(ctx context.Context, auth driver.Auth, l progress.SubLog
if err := l.Wrap("creating container "+d.Name, func() error {
hc := &container.HostConfig{
Privileged: true,
UsernsMode: "host",
}
if d.netMode != "" {
hc.NetworkMode = container.NetworkMode(d.netMode)

Loading…
Cancel
Save