Open MassiWho opened 11 months ago
I have the same question.
same
switched to docker inside alpine chroot
build runc with patch https://raw.githubusercontent.com/termux/termux-packages/master/root-packages/runc/cg-cpuset-noprefix-compat.patch
fix for docker: failed to register layer: Error processing tar file remount /, flags: 0x84000: invalid argument.
#replace rootfs with whatever you have
#before chroot
mount --bind rootfs rootfs
cd rootfs
mount ...
chroot ...
fix for iptables (if you have errors)
replace iptables binary with
#!/bin/sh
nsenter -t 1 -m iptables ${@}
same
may be unix socket path too long https://github.com/golang/go/issues/6895#issue-51285889
@Grimler91 Could it be that the issue described in https://github.com/termux/termux-packages/commit/8680546c85f3f86eb1888ecb4431032beb07af9c is not fixed with reverting to the older version?
This issue can be fixed by moving docker directories either under /data/data/com.termux
or even /data/docker
. The idea behind is to reduce path as much as possible. Otherwise Unix socket path will exceed 108 characters limit and we'll see the error.
A possible temporary solution is to install a previous version of containerd
This issue can be fixed by moving docker directories either under
/data/data/com.termux
or even/data/docker
. The idea behind is to reduce path as much as possible. Otherwise Unix socket path will exceed 108 characters limit and we'll see the error.
@sylirre,
More precisely, the bundle.go.patch should change socketRoot to /data/docker/run/containerd
rather than @TERMUX_PREFIX@/var/run/containerd
in runtime/v1/linux/bundle.go
. Also, in runtime/v2/linux/bundle.go
the socket root should also be /data/docker/run/containerd
rather than default.DefaultStateDir
. (The latter requires the import of containerd/defaults to be removed or commented out.)
Any updates?
A possible temporary solution is to install a previous version of containerd
I also ran into this issue and this link seems dead :( Does anyone still have this package?
A possible temporary solution is to install a previous version of containerd
I also ran into this issue and this link seems dead :( Does anyone still have this package?
Where's it
Problem description
Hello, since the last update docker seems to have stopped working It looks like containerd is not able to bind its socket
What steps will reproduce the bug?
What is the expected behavior?
The docker container should run without errors
System information
termux -info: