Skip to content
Snippets Groups Projects
Commit 74b27dd7 authored by nimrod's avatar nimrod
Browse files

Access the Docker socket from a toolbox container.

Instead of using Podman (it's not there yet).
parent 18e8a3dc
No related branches found
No related tags found
No related merge requests found
......@@ -388,10 +388,10 @@ fi
if [ ! -S /var/run/docker.sock ] &&
[ -z "${DOCKER_HOST:-}" ] &&
[ -S "$XDG_RUNTIME_DIR/podman/podman.sock" ] &&
[ -w "$XDG_RUNTIME_DIR/podman/podman.sock" ]
[ -S "/run/host/run/docker.sock" ] &&
[ -w "/run/host/run/docker.sock" ]
then
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock"
export DOCKER_HOST="unix:///run/host/run/docker.sock"
fi
if [ "$HOSTNAME" = 'toolbox' ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment