This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
docker/runc doesn't work on Fedora 26 #45
Comments
/cc @alban |
Could we specify |
The docker command above works on the fedora host with docker v1.13.1 and systemd v233 Latest docker should have the fix to the runc issue: opencontainers/runc#1175 (comment) |
Can be fixed by switching to CoreOS Alpha |
This was referenced Jul 6, 2017
Closed
robertgzr
added a commit
that referenced
this issue
Jul 10, 2017
Merged
Fixed via #32 |
dongsupark
pushed a commit
that referenced
this issue
Jul 13, 2017
With runc 1.0.0-rc2 on Container Linux 1465, kube-spawn init hangs forever with message like: "Created API client, waiting for the control plane to become ready". That's because docker daemon cannot execute runc, which returns error like "no subsystem for mount". See also: opencontainers/runc#1175 (comment) This issue was apparently resolved in runc 1.0.0-rc3, so in theory runc 1.0.0-rc3 should work fine with Docker 17.05. Unfortunately on Container Linux, it's not trivial to replace only the runc binary with a custom one, because Container Linux makes use of torcx to provide docker as well as runc: /run/torcx/unpack is sealed, read-only mounted. It's simply not doable to change those binaries altogether at run-time. As workaround, we should change cgroupdriver for docker and kubelet from systemd to cgroupfs. Then init process will succeed without hanging forever. See also #45
dongsupark
pushed a commit
that referenced
this issue
Jul 13, 2017
With runc 1.0.0-rc2 on Container Linux 1465, kube-spawn init hangs forever with message like: "Created API client, waiting for the control plane to become ready". That's because docker daemon cannot execute runc, which returns error like "no subsystem for mount". See also: opencontainers/runc#1175 (comment) This issue was apparently resolved in runc 1.0.0-rc3, so in theory runc 1.0.0-rc3 should work fine with Docker 17.05. Unfortunately on Container Linux, it's not trivial to replace only the runc binary with a custom one, because Container Linux makes use of torcx to provide docker as well as runc: /run/torcx/unpack is sealed, read-only mounted. As workaround, we should change cgroupdriver for docker and kubelet from systemd to cgroupfs. Then init process will succeed without hanging forever. See also #45
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Full kubelet error:
Reproduce:
docker run --rm -it busybox
inside coreos container spawned bykubeadm-nspawn
on Fedora 26inside the coreos container:
Possible ways to fix:
1.0rc3
(default docker on coreos uses runc1.0rc2
)systemd.legacy_systemd_cgroup_controller=1
The text was updated successfully, but these errors were encountered: