From d1c3f69f99e310bc0c8fe1d82430568cc3ec6187 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 3 Aug 2026 15:22:47 +0000 Subject: [PATCH] fix: symlink docker binaries to /usr/local/bin/ for PATH --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index d4f97ff..e362c52 100644 --- a/setup.sh +++ b/setup.sh @@ -66,6 +66,9 @@ if ! command -v docker >/dev/null 2>&1; then # Start dockerd with custom data root if [ -x "${DOCKER_DIR}/bin/dockerd" ]; then + # Symlink binaries so they're in PATH permanently + ln -sf "${DOCKER_DIR}/bin/docker" /usr/local/bin/docker 2>/dev/null + ln -sf "${DOCKER_DIR}/bin/dockerd" /usr/local/bin/dockerd 2>/dev/null "${DOCKER_DIR}/bin/dockerd" --data-root "${DOCKER_DIR}/data" \ --exec-root "${DOCKER_DIR}/exec" --pidfile "${DOCKER_DIR}/docker.pid" \ &>/dev/null &