mirror of
https://github.com/containers/youki
synced 2026-07-21 19:14:56 +02:00
282b07be31
* Support `--link-remap` checkpoint option Pass --link-remap from the CLI to CRIU so files unlinked while still open are linked back on restore. Signed-off-by: donkomura <koiru3822fs@gmail.com> * contest: require link-remap via extra hard link Add a second hard link before unlinking the opened file so CRIU must create a link remap, making the test actually exercise --link-remap instead of dumping a ghost file. Signed-off-by: donkomura <koiru3822fs@gmail.com> * Move the integration test code Youki does not have a restore feature, so we move the test code from `checkpoint_restore` to `lifecycle` Signed-off-by: donkomura <koiru3822fs@gmail.com> * contest: verify link-remap is recorded in checkpoint img Signed-off-by: donkomura <koiru3822fs@gmail.com> --------- Signed-off-by: donkomura <koiru3822fs@gmail.com>
liboci-cli
This is a crate to parse command line arguments for OCI container runtimes as specified in the OCI Runtime Command Line Interface.
Implemented subcommands
| Command | liboci-cli | CLI Specification | runc | crun | youki |
|---|---|---|---|---|---|
| create | ✅ | ✅ | ✅ | ✅ | ✅ |
| start | ✅ | ✅ | ✅ | ✅ | ✅ |
| state | ✅ | ✅ | ✅ | ✅ | ✅ |
| kill | ✅ | ✅ | ✅ | ✅ | ✅ |
| delete | ✅ | ✅ | ✅ | ✅ | ✅ |
| checkpoint | ✅ | ✅ | |||
| events | ✅ | ✅ | ✅ | ||
| exec | ✅ | ✅ | ✅ | ✅ | |
| features | ✅ | ✅ | |||
| list | ✅ | ✅ | ✅ | ✅ | |
| pause | ✅ | ✅ | ✅ | ✅ | |
| ps | ✅ | ✅ | ✅ | ✅ | |
| restore | ✅ | ✅ | |||
| resume | ✅ | ✅ | ✅ | ✅ | |
| run | ✅ | ✅ | ✅ | ✅ | |
| spec | ✅ | ✅ | ✅ | ✅ | |
| update | ✅ | ✅ |