Add --privileged option to ctr run

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2018-04-04 12:30:20 +01:00
parent 062c3a00ef
commit 903191072e
2 changed files with 7 additions and 0 deletions

View File

@@ -68,6 +68,10 @@ var ContainerFlags = []cli.Flag{
Name: "net-host",
Usage: "enable host networking for the container",
},
cli.BoolFlag{
Name: "privileged",
Usage: "run privileged container",
},
cli.BoolFlag{
Name: "read-only",
Usage: "set the containers filesystem as readonly",