Rename process namespace to pid
It's "pid" in opencontainers/specs Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
072fa6fdcc
commit
6d1e6a17e1
4
spec.go
4
spec.go
|
@ -94,7 +94,7 @@ var specCommand = cli.Command{
|
|||
Linux: specs.Linux{
|
||||
Namespaces: []specs.Namespace{
|
||||
{
|
||||
Type: "process",
|
||||
Type: "pid",
|
||||
},
|
||||
{
|
||||
Type: "network",
|
||||
|
@ -138,7 +138,7 @@ var specCommand = cli.Command{
|
|||
}
|
||||
|
||||
var namespaceMapping = map[string]configs.NamespaceType{
|
||||
"process": configs.NEWPID,
|
||||
"pid": configs.NEWPID,
|
||||
"network": configs.NEWNET,
|
||||
"mount": configs.NEWNS,
|
||||
"user": configs.NEWUSER,
|
||||
|
|
Loading…
Reference in New Issue