闹钟大魔王

Results 16 comments of 闹钟大魔王

@hlb-source I've found that **ctr** supports a straightforward method for using youki instead of runc. ```bash sudo ctr run -t --runc-binary /path/to/youki docker.io/library/ubuntu:latest youki-hello ``` You can also verify that...

Hey, I'm trying to research `checkpoint` and `restore`. However, I've noticed that there seem to be some problems with the current `checkpoint` implementation. ```bash > sudo podman run --runtime ~/rust_project/youki/youki...

After resolving the mentioned `No such file or directory` error, there are still some CRIU-related errors: ```text > sudo podman container checkpoint fb8bc5974 DEBUG youki: started by user 0 with...

> can you mention what what the issue behind this error, and how did you resolve it? It's quite simple, just create the missing directories directly. (It seems to be...

Thanks for your sharing too~ > verifying on how runc handles this I noticed that, the way runc handles `image_path` is also to create it directly. https://github.com/opencontainers/runc/blob/a32ad76da330c20c27b79ccbd20ff58629fc4b7d/libcontainer/criu_linux.go#L303C15-L303C15

Thank you for your help. I removed the `-t` flag, and now it's working fine. @adrianreber

**Some ideas** The main challenge with using `OwnedFd` is that `ContainerArgs` requires its fields to satisfy the `Clone` trait, but `OwnedFd` does not (and shouldn't, in my opinion) support it....

> what should happen if `OwnedFd::try_clone()` returns Err? > > say, when manually implementing the Clone trait for `ContainerType` Directly unwrapping indeed doesn't seem quite appropriate... Could we just implement...

> what about this issue then? I think closing one of the file descriptors won't affect the usability of the other one.

@zahash Sorry, I don't have a suitable Linux machine with me right now. I can try verifying the issue tomorrow morning. > TenantContainer { exec_notify_fd: Rc }, I've discussed this...