Open kimb opened 5 months ago
Trying to use buster:
services:
qemu-raspberry-buster:
image: ghcr.io/carlosperate/qemu-rpi-os-lite:buster-latest
ports:
- "5022:5022"
Also fails to start Docker:
Apr 07 14:39:22 raspberrypi systemd[1]: Starting Docker Socket for the API.
Apr 07 14:39:23 raspberrypi systemd[1]: Listening on Docker Socket for the API.
Apr 07 14:39:23 raspberrypi systemd[1]: Starting Docker Application Container Engine...
Apr 07 14:39:30 raspberrypi dockerd[6064]: time="2024-04-07T14:39:30.059172978+01:00" level=info msg="Starting up"
Apr 07 14:39:32 raspberrypi dockerd[6064]: failed to start daemon: Devices cgroup isn't mounted
Apr 07 14:39:33 raspberrypi systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Apr 07 14:39:33 raspberrypi systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 07 14:39:33 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
I'm trying to use the emulated RPi as a test target for an ansible script that installs Docker and then builds and starts Docker containers.
Starting the qemu RPi with the following docker-compose.yml:
Installing Docker using
curl -fsSL https://get.docker.com -o get-docker.sh | sh
works, but trying to start Docker fails with:journalctl --no-pager -l
reports the following:Kernel missing the overlay2 driver? Installaing
apt install fuse-overlayfs
helps a bit. But it still fails with:So it seems bridge and/or nft protocol support is missing. This might be because modules are missing for the kernel version (but do exist for 6.1.21)?