Merge pull request #46208 from thaJeztah/oci_DefaultLinuxSpec_consts
oci: DefaultLinuxSpec: use OCI-spec consts for namespaces
This commit is contained in:
commit
cb36f57299
1 changed files with 5 additions and 5 deletions
|
@ -122,11 +122,11 @@ func DefaultLinuxSpec() specs.Spec {
|
|||
"/proc/sysrq-trigger",
|
||||
},
|
||||
Namespaces: []specs.LinuxNamespace{
|
||||
{Type: "mount"},
|
||||
{Type: "network"},
|
||||
{Type: "uts"},
|
||||
{Type: "pid"},
|
||||
{Type: "ipc"},
|
||||
{Type: specs.MountNamespace},
|
||||
{Type: specs.NetworkNamespace},
|
||||
{Type: specs.UTSNamespace},
|
||||
{Type: specs.PIDNamespace},
|
||||
{Type: specs.IPCNamespace},
|
||||
},
|
||||
// Devices implicitly contains the following devices:
|
||||
// null, zero, full, random, urandom, tty, console, and ptmx.
|
||||
|
|
Loading…
Add table
Reference in a new issue