Merge pull request #6923 from thaJeztah/no_tun

oci: WithDefaultUnixDevices(): remove tun/tap from the default devices
This commit is contained in:
Phil Estes
2022-05-12 14:00:27 +01:00
committed by GitHub

View File

@@ -1192,20 +1192,13 @@ func WithDefaultUnixDevices(_ context.Context, _ Client, _ *containers.Container
Allow: true,
},
{
// "dev/ptmx"
Type: "c",
Major: intptr(5),
Minor: intptr(2),
Access: rwm,
Allow: true,
},
{
// tuntap
Type: "c",
Major: intptr(10),
Minor: intptr(200),
Access: rwm,
Allow: true,
},
}...)
return nil
}