ctr: Add sandbox flag to ctr run

Add a flag to be able to run a container in a given sandbox.

Signed-off-by: Danny Canter <danny@dcantah.dev>
This commit is contained in:
Danny Canter
2023-04-18 11:21:31 -07:00
parent 290a800e83
commit 519457e3e0
4 changed files with 13 additions and 0 deletions

View File

@@ -141,6 +141,10 @@ var (
Usage: "Runtime name or absolute path to runtime binary",
Value: defaults.DefaultRuntime,
},
cli.StringFlag{
Name: "sandbox",
Usage: "Create the container in the given sandbox",
},
cli.StringFlag{
Name: "runtime-config-path",
Usage: "Optional runtime config path",