Closed NiranjanUv closed 5 months ago
Newer versions of Qemu prevent the use of "special files" such as sockets or device nodes on 9pFS. https://www.mail-archive.com/qemu-devel@nongnu.org/msg967749.html The new behavior may cause problems for containers that rely on "special files," such as "Docker in Docker". A possible solution is to use a root disk instead of 9pFS. I have adapted the examples under 'test/examples' accordingly. Please let me know if this helps.
Seeing a different error while using ROOTFS - [proxy d60f677] rootdisk "0001" not found
.
Is any code change required apart from the docker run command example ?
No. (sorry for the delay)
Brief description We updated the qemu version to
4.4.16 - 1:4.2-3ubuntu6.28
and see that the container is going for restart loop. qemu has recently released a new version to fix the CVE-2023-2861 vulnerability.The error seen is
9p: broken or compromised client detected; attempt to open special file (i.e. neither regular file, nor directory)
.Steps to reproduce the issue
Expected behaviour Container should be stable and not restart.
Actual behaviour Container in restart loop
Content of section
runtimes
of/etc/docker/daemon.json
Content of
/var/lib/runq/qemu/proxy --version
d60f677 (go1.21.5)Content of
docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04.1Additional information