You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Support --empty-ns checkpoint/restore option (#3700)
* Support `--empty-ns` checkpoint option
Pass --empty-ns from the CLI to CRIU so the network namespace is
created empty on restore instead of being dumped. Youki does not
manage network devices, so their external dependencies cannot be
described to CRIU. Runc sets this unconditionally for the same reason.
To verifty the functionality, contest check the existence of
netdev-*.img which holds the network devices of a dumped namespace.
Signed-off-by: donkomura <koiru3822fs@gmail.com>
* Reject unsupported namespaces for --empty-ns
Only `network` namespace is supported for empty-ns option,
but the given value was not validated. Add the check and
reject others to match runc. Also document that `network`
applies even without the flag.
Signed-off-by: donkomura <koiru3822fs@gmail.com>
---------
Signed-off-by: donkomura <koiru3822fs@gmail.com>
0 commit comments