我使用的是Manjaro Linux和Kernerl 5.10.13。
我不知道发生了什么,也许有什么更新了,但Docker不再为我工作了。
当我尝试执行docker run hello-world
时,我看到以下消息:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367:
starting container process caused: process_linux.go:495: container init caused: apply apparmor
profile: apparmor failed to apply profile: write /proc/self/attr/exec: invalid argument: unknown.
ERRO[0000] error waiting for container: context canceled
如果我切换到内核5.9.16,看起来没问题。我是不是漏掉了什么?
发布于 2021-02-08 19:47:07
你可能需要在你的内核参数(apparmor=1 lsm=lockdown,yama,apparmor,bpf
)中启用装置
请参阅https://www.reddit.com/r/archlinux/comments/ldhx0v/cant_start_docker_containers_on_latest_kernel/
发布于 2021-02-07 12:03:27
我不知道那里发生了什么,但第二天早上(大约在我发布这篇文章后7个小时),我的系统上有了一个更新,似乎解决了这个问题
https://stackoverflow.com/questions/66073983
复制相似问题