Closed samjw-nz closed 1 year ago
will it be possible to remove apparmor?
Yes should be possible afterwards.
Great to see a solution merged 👍.
Me too last night: Rock64 1G fresh install (cb0d547c-e913-47ca-b648-e40893a0b3e9), nothing else installed - I checked on Docker and Portainer. I give the above a go too. Cheers,
There is no other way around until Docker Devs fixed it. Until a new Docker version is available, the the above workaround is needed.
Docker v23.0.1 has been released, issue solved.
@MichaIng
not sure if the issue has been fixed fully. There is still an issue for apparmor
but with a different error now.
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown.
Your right...
Ah, it has been reverted in containerd now, the only real fix: https://github.com/containerd/containerd/pull/8086 But milestone is containerd 1.7 🤔. ... ah no backported to v1.6 as well: https://github.com/containerd/containerd/pull/8087
Let's hope for a soon containerd release then.
containerd v1.6.18 with the fix has been released, but while the error message has changed containers still do not start:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: write /proc/self/attr/apparmor/exec: no such file or directory: unknown.
Looks like it will be fully resolved Docker-side with: https://github.com/moby/moby/pull/44982
Finally, with the latest docker-ce
update from today the issue is solved. I didn't expect this to take so long.
related release notes from Docker side https://docs.docker.com/engine/release-notes/23.0/#2302
ADMIN EDIT
Workaround
Creating a bug report/issue
Required Information
Linux Sam-Pi 5.15.89-sunxi #22.11.4 SMP Mon Jan 23 21:58:30 UTC 2023 armv7l GNU/Linux
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details