add --mount option to ctr

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett
2017-05-22 12:47:31 -04:00
parent e4bb820b55
commit ef026e83fa
3 changed files with 49 additions and 0 deletions

View File

@@ -54,6 +54,10 @@ var runCommand = cli.Command{
Name: "net-host",
Usage: "enable host networking for the container",
},
cli.StringSliceFlag{
Name: "mount",
Usage: "specify additional container mount (ex: type=bind,src=/tmp,dest=/host,options=rbind:ro)",
},
cli.BoolFlag{
Name: "keep",
Usage: "keep container after running",