We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1a3c9 + f00df1b commit 122405bCopy full SHA for 122405b
containerd.mk
@@ -4,7 +4,7 @@ CONTAINERD_PROXY_COMMIT=82ae3d13e91d062dd4853379fe018638023c8da2
4
CONTAINERD_SHIM_PROCESS_IMAGE=docker.io/docker/containerd-shim-process:ff98a47
5
6
# If containerd is running use that socket instead
7
-ifeq ($(shell systemctl status containerd 2>/dev/null >/dev/null && echo -n "yes"), "yes")
+ifeq ("$(shell systemctl is-active containerd)", "active")
8
CONTAINERD_SOCK:=/var/run/containerd/containerd.sock
9
else
10
CONTAINERD_SOCK:=/var/run/docker/containerd/docker-containerd.sock
0 commit comments