rootwyrm / talecaster

TaleCaster application server - bringing ALL your media to you.
Other
3 stars 2 forks source link

(Docker) Cannot connect to composed containers #24

Closed rootwyrm closed 3 years ago

rootwyrm commented 3 years ago

This is due to a Docker bug. Symptom:

[root@airwolf talecaster]# docker exec -it torrent /bin/bash
OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: read init-p: connection reset by peer: unknown

Upstream is: https://github.com/moby/moby/issues/40399

rootwyrm commented 3 years ago

Closed by https://github.com/rootwyrm/talecaster/commit/85511b073feed7f17a1ea7f890318393d38058ad for now, upstream still open.

Issue is that VOLUME [ /sys ] exists in tc_docker to work around an old issue on certain setups. This apparently angers buildkit and it doesn't create /sys which causes runc to panic because it can't find the cgroup. Removing the volume causes buildkit to work as intended (mostly,) but breaks certain other builds. Since we don't use them, we don't care here.