ctr: improve error relative shim path error msg
addresses https://github.com/containerd/containerd/issues/6464 Return an error if a runtime provided is relative. Add context to the usage for `ctr run --runtime` indicating that absolute path to runtime binary must be provided. Signed-off-by: Gavin Inglis <giinglis@amazon.com>
This commit is contained in:
@@ -134,7 +134,7 @@ var (
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "runtime",
|
||||
Usage: "runtime name",
|
||||
Usage: "runtime name or absolute path to runtime binary",
|
||||
Value: defaults.DefaultRuntime,
|
||||
},
|
||||
cli.StringFlag{
|
||||
|
Reference in New Issue
Block a user