码迷,mamicode.com
首页 > 其他好文 > 详细

解决CentOS7下运行docker容器时出现的报错Error resolving syscall name...

时间:2016-11-09 15:48:47      阅读:449      评论:0      收藏:0      [点我收藏+]

标签:docker centos7

最近在研究docker!在虚拟机centos7中运行docker经常会有:


[jm@localhost 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.

[root@c3f9a779dc59 /]# 


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

【解决】

只需要安装或更新软件包libseccomp至2.2版本以上即可消除此报错提示!

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

解决CentOS7下运行docker容器时出现的报错Error resolving syscall name...

标签:docker centos7

原文地址:http://xaverlin.blog.51cto.com/10410159/1871015

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!