Add --net-host for testing host networking
Add `--net-host` to `ctr run` to test containers running in host networking. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -51,6 +51,10 @@ var runCommand = cli.Command{
|
||||
Name: "readonly",
|
||||
Usage: "set the containers filesystem as readonly",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "net-host",
|
||||
Usage: "enable host networking for the container",
|
||||
},
|
||||
},
|
||||
Action: func(context *cli.Context) error {
|
||||
var (
|
||||
|
Reference in New Issue
Block a user