weaveworks / ignite

Ignite a Firecracker microVM
https://ignite.readthedocs.org
Apache License 2.0
3.49k stars 223 forks source link

Can't start with Docker runtime: /var/lib/firecracker: read-only filesystem #904

Open runvnc opened 2 years ago

runvnc commented 2 years ago

With containerd, kept saying 'waiting for sshd to start'.. so I decided to try Docker.

root@ubuntu-s-8vcpu-16gb-amd-nyc3-01 /h/r/nftgen (master)#
ignite run weaveworks/ignite-ubuntu --runtime docker --debug --interactive --ssh
INFO[0000] docker image "weaveworks/ignite-ubuntu:latest" not found locally, pulling...
INFO[0005] Starting image import...
INFO[0010] Imported OCI image "weaveworks/ignite-ubuntu:latest" (218.9 MB) to base image with UID "8bce7955649db26c"
INFO[0010] docker image "weaveworks/ignite-kernel:5.10.51" not found locally, pulling...
INFO[0013] Imported OCI image "weaveworks/ignite-kernel:5.10.51" (69.6 MB) to kernel image with UID "485b6841d4f03d6d"
INFO[0014] Created VM with ID "59993a2252969e67" and name "blue-field"
FATA[0014] failed to start container for VM "59993a2252969e67": Error response from daemon: error while creating mount source path '/var/lib/firecracker/kernel/485b6841d4f03d6d/vmlinux': mkdir /var/lib/firecracker: read-only file system
darkowlzz commented 2 years ago

Hi, thanks for reporting this issue. Can you share some details about your environment and maybe also some details about containerd and docker in your machine? I suspect it's failing due to some container runtime configuration. Are they running in some rootless mode?