youki-dev / youki

A container runtime written in Rust
https://youki-dev.github.io/youki/
Apache License 2.0
6.33k stars 347 forks source link

Create standard environment setups for testing #2890

Open YJDoc2 opened 3 months ago

YJDoc2 commented 3 months ago

Currently we have two default vagrant files, one vagrantfile for podman and one vagrantfile for containerd. Out of these the default ones are broken see https://github.com/containers/youki/issues/2882 . We also run into issues as mentioned in https://github.com/containers/youki/issues/361#issuecomment-2306560809 where contributors don't have access to specific cgroup envs, and have problems.

We should have some vagrant files that can be used as the "standard" developing environment making it easier for devs and testing.

Currently I'm thinking of following files :

I think this would make the development and testing easier .

posutsai commented 2 months ago

After the comment, I have done some study about using VMs as dev environment. I wonder if testing youki with LXD system container would be lighter and more friendly. According to the official guide, docker and containerd seems working fine in the system container.