为什么我不能在远程 Docker 17.09 上安装 libpaper1?



为什么升级到"远程docker "后只能在CircleCI上安装libpaper1 ?版本20.10.7 ?

如果您查看最近的两个提交,倒数第二个构建失败。但是最后一个构建,唯一的区别是Docker版本已经升级。

倒数第二个提交的错误是:

Creating config file /etc/papersize with new version
stat: cannot statx '/etc/papersize.dpkg-inst': Operation not permitted
dpkg: error processing package libpaper1:amd64 (--configure):
installed libpaper1:amd64 package post-installation script subprocess returned error exit status 1

为什么17.0.9版本是默认的,如果它的功能不如20.10.7版本?

错误来自statx而不是libepaper1。在Docker 18.04.0版本之前,statx不包含在Docker默认的seccomp白名单中,我们可以在Docker Engine 18.04发行说明页面中看到。

Whitelist statx syscall。莫比/莫比# 36417

这就是为什么升级docker是解决方案.

来源:https://github.com/moby/moby/pull/36417

  • 需要哪些功能才能使statx停止提供EPERM

  • https://unix.stackexchange.com/questions/672183/cannot-install-ghostscript-libgs9-and-libpaper1-on-debian-bullseye

最新更新