解決CentOS7下運行docker容器時出現的報錯Error resolving syscall name...

最近在研究docker!在虛擬機centos7中運行docker常常會有:docker


[jm@localhost docker]$ docker run -it lin/centos6 /bin/bashcentos

2016/11/08 19:38:53 Error resolving syscall name execveat: could not resolve name to syscall - ignoring syscall.bash

2016/11/08 19:38:53 Error resolving syscall name getrandom: could not resolve name to syscall - ignoring syscall.dom

2016/11/08 19:38:53 Error resolving syscall name memfd_create: could not resolve name to syscall - ignoring syscall.ide

2016/11/08 19:38:53 Error resolving syscall name renameat2: could not resolve name to syscall - ignoring syscall.centos7

2016/11/08 19:38:53 Error resolving syscall name sched_getattr: could not resolve name to syscall - ignoring syscall.spa

2016/11/08 19:38:53 Error resolving syscall name sched_setattr: could not resolve name to syscall - ignoring syscall.orm

2016/11/08 19:38:53 Error resolving syscall name seccomp: could not resolve name to syscall - ignoring syscall.get

2016/11/08 19:38:53 Error resolving syscall name breakpoint: could not resolve name to syscall - ignoring syscall.虛擬機

2016/11/08 19:38:53 Error resolving syscall name cacheflush: could not resolve name to syscall - ignoring syscall.

2016/11/08 19:38:53 Error resolving syscall name set_tls: could not resolve name to syscall - ignoring syscall.

[root@c3f9a779dc59 /]# 


提示。可是容器的功能都能正常使用。

【解決】

只須要安裝或更新軟件包libseccomp至2.2版本以上便可消除此報錯提示!

[jm@localhost docker]$ sudo yum -y install libseccomp

相關文章
相關標籤/搜索