我正在尝试在我的树莓派3上的docker中运行wordpress的镜像。我安装了docker,将我的' PI‘用户添加到docker组中,我可以运行像"hello-world“这样的镜像,但当我尝试运行wordpress的镜像时,我得到了如下的预留错误:
tar: ./wp-blog-header.php: Cannot utime: Operation not permitted
tar: ./wp-signup.php: Cannot utime: Operation not permitted
tar: ./index.php: Cannot utime: Operation not permitted
tar: ./wp-config-docker.php: Cannot utime: Operation not permitted
tar: .: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors
有人可以帮我解决这个错误,我不能理解缺少什么样的权限...?
我使用的是wordpress的最新图片,我只需要输入:"docker run wordpress“我不知道我们是否需要检查图片中的某些东西……
谢谢
发布于 2021-09-09 17:08:36
对我来说,这听起来像是最近的seccomp问题,由于libc使用新的syscall进行了更新,这些问题一直困扰着容器;有关详细信息,请参阅https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements和/或https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2。
我建议在您的主机上更新Docker、runc和libseccomp,这可能会解决这个问题。
如果您想要快速测试以验证这确实是问题所在,并且更新可能会修复它,您可以尝试使用--security-opt seccomp=unconfined
再次运行容器--如果成功,您肯定希望更新您的主机。
https://stackoverflow.com/questions/68950657
复制相似问题