Merge pull request #874 from crosbymichael/keyring

Add option to disable new session keys
This commit is contained in:
Aleksa Sarai
2016-06-12 21:44:45 +10:00
committed by GitHub
7 changed files with 36 additions and 17 deletions
+4
View File
@@ -42,6 +42,10 @@ command(s) that get executed on start, edit the args parameter of the spec. See
Name: "no-pivot",
Usage: "do not use pivot root to jail process inside rootfs. This should be used whenever the rootfs is on top of a ramdisk",
},
cli.BoolFlag{
Name: "no-new-keyring",
Usage: "do not create a new session keyring for the container. This will cause the container to inherit the calling processes session key",
},
},
Action: func(context *cli.Context) error {
spec, err := setupSpec(context)