A fun linux system based on containers and linuxkit tool :)
./tools/build.sh kernel alpine -r <DOCKER_REPO>
See ./packages/init/*
./tools/build.sh init
.packages/services/*
./tools/build.sh services
Same as above with replaced keyword...
./tools/linuxkit.sh -yml rustysd.yml
./tools/qemu.sh
Login to the sshd container and execute the following command to enter host namespace and rootfs
nsenter -t 1 -F chroot /host /bin/sh
Now you're able to use hosts crun:
crun list
Because of privileged and net/pid namesace of host also a chroot would work
chroot /host /bin/sh
crun list