解决CentOS7下运行docker容器时出现的报错Error resolving syscall name...
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决CentOS7下运行docker容器时出现的报错Error resolving syscall name...相关的知识,希望对你有一定的参考价值。
最近在研究docker!在虚拟机centos7中运行docker经常会有:
[[email protected] docker]$ docker run -it lin/centos6 /bin/bash
2016/11/08 19:38:53 Error resolving syscall name execveat: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name getrandom: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name memfd_create: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name renameat2: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name sched_getattr: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name sched_setattr: could not resolve name to syscall - ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name seccomp: could not resolve name to syscall - ignoring syscall.
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.
[[email protected] /]#
提示。但是容器的功能都能正常使用。
【解决】
只需要安装或更新软件包libseccomp至2.2版本以上即可消除此报错提示!
[[email protected] docker]$ sudo yum -y install libseccomp
以上是关于解决CentOS7下运行docker容器时出现的报错Error resolving syscall name...的主要内容,如果未能解决你的问题,请参考以下文章
Docker下构建centos7容器无法使用systemctl命令的解决办法
centos7下安装docker(15.6docker跨主机网络---Weave)
运行命令 **sed** 时出现 docker 容器错误 [重复]