|
 |
f24a48 |
diff --git a/list.go b/list.go
|
|
 |
6752f3 |
index 0313d8cc..328798b5 100644
|
|
 |
f24a48 |
--- a/list.go
|
|
 |
f24a48 |
+++ b/list.go
|
|
 |
efbbe3 |
@@ -50,7 +50,7 @@ var listCommand = cli.Command{
|
|
 |
f24a48 |
ArgsUsage: `
|
|
 |
f24a48 |
|
|
 |
f24a48 |
Where the given root is specified via the global option "--root"
|
|
 |
f24a48 |
-(default: "/run/runc").
|
|
 |
f24a48 |
+(default: "/run/runc-ctrs").
|
|
 |
f24a48 |
|
|
 |
f24a48 |
EXAMPLE 1:
|
|
 |
f24a48 |
To list containers created via the default "--root":
|
|
 |
f24a48 |
diff --git a/main.go b/main.go
|
|
 |
6752f3 |
index 278399a5..0f49fce1 100644
|
|
 |
f24a48 |
--- a/main.go
|
|
 |
f24a48 |
+++ b/main.go
|
|
 |
c8282c |
@@ -62,7 +62,7 @@ func main() {
|
|
 |
efbbe3 |
v = append(v, fmt.Sprintf("spec: %s", specs.Version))
|
|
 |
efbbe3 |
app.Version = strings.Join(v, "\n")
|
|
 |
efbbe3 |
|
|
 |
efbbe3 |
- root := "/run/runc"
|
|
 |
efbbe3 |
+ root := "/run/runc-ctrs"
|
|
 |
c8282c |
rootless, err := isRootless(nil)
|
|
 |
c8282c |
if err != nil {
|
|
 |
c8282c |
fatal(err)
|
|
 |
c8282c |
@@ -70,7 +70,7 @@ func main() {
|
|
 |
c8282c |
if rootless {
|
|
 |
efbbe3 |
runtimeDir := os.Getenv("XDG_RUNTIME_DIR")
|
|
 |
efbbe3 |
if runtimeDir != "" {
|
|
 |
efbbe3 |
- root = runtimeDir + "/runc"
|
|
 |
efbbe3 |
+ root = runtimeDir + "/runc-ctrs"
|
|
 |
c8282c |
// According to the XDG specification, we need to set anything in
|
|
 |
c8282c |
// XDG_RUNTIME_DIR to have a sticky bit if we don't want it to get
|
|
 |
c8282c |
// auto-pruned.
|
|
 |
f24a48 |
diff --git a/man/runc-list.8.md b/man/runc-list.8.md
|
|
 |
6752f3 |
index f7374244..107220ee 100644
|
|
 |
f24a48 |
--- a/man/runc-list.8.md
|
|
 |
f24a48 |
+++ b/man/runc-list.8.md
|
|
 |
f24a48 |
@@ -6,7 +6,7 @@
|
|
 |
f24a48 |
|
|
 |
f24a48 |
# EXAMPLE
|
|
 |
f24a48 |
Where the given root is specified via the global option "--root"
|
|
 |
f24a48 |
-(default: "/run/runc").
|
|
 |
f24a48 |
+(default: "/run/runc-ctrs").
|
|
 |
f24a48 |
|
|
 |
f24a48 |
To list containers created via the default "--root":
|
|
 |
f24a48 |
# runc list
|
|
 |
f24a48 |
diff --git a/man/runc.8.md b/man/runc.8.md
|
|
 |
6752f3 |
index 6d0ddff6..337bc733 100644
|
|
 |
f24a48 |
--- a/man/runc.8.md
|
|
 |
f24a48 |
+++ b/man/runc.8.md
|
|
 |
6752f3 |
@@ -51,7 +51,7 @@ value for "bundle" is the current directory.
|
|
 |
f24a48 |
--debug enable debug output for logging
|
|
 |
f24a48 |
--log value set the log file path where internal debug information is written (default: "/dev/null")
|
|
 |
f24a48 |
--log-format value set the format used by logs ('text' (default), or 'json') (default: "text")
|
|
 |
efbbe3 |
- --root value root directory for storage of container state (this should be located in tmpfs) (default: "/run/runc" or $XDG_RUNTIME_DIR/runc for rootless containers)
|
|
 |
efbbe3 |
+ --root value root directory for storage of container state (this should be located in tmpfs) (default: "/run/runc-ctrs" or $XDG_RUNTIME_DIR/runc-ctrs for rootless containers)
|
|
 |
f24a48 |
--criu value path to the criu binary used for checkpoint and restore (default: "criu")
|
|
 |
f24a48 |
--systemd-cgroup enable systemd cgroup support, expects cgroupsPath to be of form "slice:prefix:name" for e.g. "system.slice:runc:434234"
|
|
 |
6752f3 |
--rootless value enable rootless mode ('true', 'false', or 'auto') (default: "auto")
|