运行docker时出错“错误解析系统调用名称<>:无法将名称解析为系统调用 - 忽略系统调用。”

时间:2016-11-01 23:58:38

标签: docker docker-compose dockerfile docker-machine

我在一台计算机上运行docker镜像时看到以下错误

uname -r
3.10.0-229.7.2.el7.x86_64

2016/11/01 23:46:56 Error resolving syscall name execveat: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name getrandom: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name memfd_create: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name renameat2: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name sched_getattr: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name sched_setattr: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name seccomp: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name breakpoint: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name cacheflush: could not resolve name to syscall - ignoring syscall.
2016/11/01 23:46:56 Error resolving syscall name set_tls: could not resolve name to syscall - ignoring syscall.

我是否需要安装任何缺少的依赖项来解决这些错误?

[nipatel@spgswdev10 xdk]$ docker version
Client:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-46.sl7.14.x86_64
 Go version:      go1.6.3
 Git commit:      8f966cb-unsupported
 Built:           Wed Sep 28 09:42:19 2016
 OS/Arch:         linux/amd64

Server:
 Version:         1.10.3
 API version:     1.22
 Package version: docker-common-1.10.3-46.sl7.14.x86_64
 Go version:      go1.6.3
 Git commit:      8f966cb-unsupported
 Built:           Wed Sep 28 09:42:19 2016
 OS/Arch:         linux/amd64

1 个答案:

答案 0 :(得分:0)

看起来这是一个docker / selinux问题,建议只是将libseccomp升级到libseccomp-2.2.1-1.el7.x86_64或更高版本。
我能够解决:
yum upgrade libseccomp