1
0
mirror of https://github.com/opencontainers/runc.git synced 2025-04-18 19:44:09 +03:00

Merge pull request #4722 from kolyshkin/rm-criu-opt

Completely remove --criu option
This commit is contained in:
Akihiro Suda 2025-04-16 15:41:19 +09:00 committed by GitHub
commit 3d8a278bdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,11 +101,6 @@ func main() {
Value: root,
Usage: "root directory for storage of container state (this should be located in tmpfs)",
},
cli.StringFlag{
Name: "criu",
Usage: "(obsoleted; do not use)",
Hidden: true,
},
cli.BoolFlag{
Name: "systemd-cgroup",
Usage: "enable systemd cgroup support, expects cgroupsPath to be of form \"slice:prefix:name\" for e.g. \"system.slice:runc:434234\"",
@ -152,10 +147,6 @@ func main() {
if err := reviseRootDir(context); err != nil {
return err
}
// TODO: remove this in runc 1.3.0.
if context.IsSet("criu") {
fmt.Fprintln(os.Stderr, "WARNING: --criu ignored (criu binary from $PATH is used); do not use")
}
return configLogrus(context)
}