We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4eb8c2f + 50dbe5f commit 7446e70Copy full SHA for 7446e70
list.go
@@ -38,6 +38,18 @@ type containerState struct {
38
var listCommand = cli.Command{
39
Name: "list",
40
Usage: "lists containers started by runc with the given root",
41
+ ArgsUsage: `
42
+
43
+Where the given root is specified via the global option "--root"
44
+(default: "/run/runc").
45
46
+EXAMPLE 1:
47
+To list containers created via the default "--root":
48
+ runc list
49
50
+EXAMPLE 2:
51
+To list containers created using a non-default value for "--root":
52
+ runc --root value list`,
53
Flags: []cli.Flag{
54
cli.StringFlag{
55
Name: "format, f",
0 commit comments