-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
runsc runtime not working with centos 7.5 #55
Comments
In error.txt i can see some W0520 10:33:41.934658 14451 x:0] FATAL ERROR: error creating container: fork/exec /usr/local/bin/runsc: invalid argument I am just running below command |
We require a Linux 3.17+ kernel. It looks like you are on 3.10. |
Hi pratt [root@localhost ~]# docker info | grep -i kernel I saw something like below in atatched logs |
@balasu maybe you should turn off selinux, and make sure that /usr/local/bin/runsc is executable. |
yes, it worked after disabled the selinux . let me try other images [root@localhost ~]# docker run --runtime=runsc hello-world Hello from Docker! To generate this message, Docker took the following steps:
To try something more ambitious, you can run an Ubuntu container with: Share images, automate workflows, and more with a free Docker ID: |
Hi
I was trying to change docker runtime to runsc and spawn a hellow world container .but got some error.
docker: Error response from daemon: OCI runtime create failed: /usr/local/bin/runsc did not terminate sucessfully: unknown.
kindly suggest
below are the infra and software versions
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Docker:
[root@localhost ~]# docker info
Containers: 39
Running: 22
Paused: 0
Stopped: 17
Images: 35
Server Version: 18.03.1-ce
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc runsc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-862.2.3.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.786GiB
Name: localhost.localdomain
ID: VUGP:HS3G:AFXL:MO42:B277:5EE5:GFRZ:CTUR:BXZJ:LWPX:C574:BQQN
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
[root@localhost runsc]# cat /etc/docker/daemon.json
{
"runtimes": {
"runsc": {
"path": "/usr/local/bin/runsc",
"runtimeArgs": [
"--debug-log-dir=/tmp/runsc",
"--debug",
"--strace"
]
}
}
}
error.txt
The text was updated successfully, but these errors were encountered: