termux-packages/root-packages/containerd/util_unix.go.patch

14 lines
569 B
Diff
Raw Normal View History

2021-01-18 13:03:53 +01:00
diff --git a/data/data/com.termux/files/home/test/containerd-1.4.3/runtime/v2/shim/util_unix.go b/runtime/v2/shim/util_unix.go
index 2b0d0ad..9adb593 100644
--- a/data/data/com.termux/files/home/test/containerd-1.4.3/runtime/v2/shim/util_unix.go
+++ b/runtime/v2/shim/util_unix.go
@@ -66,7 +66,7 @@ func AdjustOOMScore(pid int) error {
return nil
}
-const socketRoot = "/run/containerd"
+const socketRoot = "/data/docker/run/containerd"
// SocketAddress returns a socket address
func SocketAddress(ctx context.Context, socketPath, id string) (string, error) {