Some shitty container implementation from scratch.
- Get a filesystem of your choice and put it in a directory named
rootfs
.
mkdir rootfs
tar -xzvf ubuntu-base-22.04-base-amd64.tar.gz -C rootfs
- Run the following command to build and run the container:
cargo build && sudo ./target/debug/containers run /bin/bash