Solve the Error resolving sysca when running docker containers in centos 7
Docker is being studied recently! Running docker in centos7 of a virtual machine often includes:
[Jm @ localhost docker] $ docker run-it lin/centos6/bin/bash
2016/11/08 19:38:53 Error resolving syscall name execveat: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name getrandom: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name memfd_create: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name renameat2: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name sched_getattr: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name sched_setattr: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name seccomp: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name breakpoint: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name cacheflush: cocould not resolve name to syscall-ignoring syscall.
2016/11/08 19:38:53 Error resolving syscall name set_tls: cocould not resolve name to syscall-ignoring syscall.
[Root @ c3f9a779dc59/] #
Prompt. However, container functions can be used normally.
[Solution]
You only need to install or update the software package libseccomp to Version 2.2 or later to eliminate this error message!
[Jm @ localhost docker] $ sudo yum-y install libseccomp