从 Debian 8 升级到 Debian 9期间docker run和docker build之后发生以下错误:
ERROR: Service 'etherpad' failed to build: OCI runtime create failed: container_linux.go:344: starting container process caused "error loading seccomp filter into kernel: invalid argument": unknown
Run Code Online (Sandbox Code Playgroud)
通过使用运行容器时,我能够解决该问题,--seccomp-profile:unconfined但构建不支持此标志(https://github.com/moby/moby/issues/21105)。我还尝试通过 daemon.json 将它传递给守护程序,但这在启动过程中导致错误。
内核支持已启用:
grep CONFIG_SECCOMP= /boot/config-$(uname -r)
CONFIG_SECCOMP=y
Run Code Online (Sandbox Code Playgroud)
码头工人信息:
Containers: 38
Running: 9
Paused: 0
Stopped: 29
Images: 119
Server Version: 18.09.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 275
Dirperm1 Supported: true
Logging Driver: json-file …Run Code Online (Sandbox Code Playgroud)