Skip to content

Commit 25bee3e

Browse files
committed
adds workaround for docker compose with podman
1 parent 91974f7 commit 25bee3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/docker.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ function docker_logs() {
5858
docker logs --timestamps $* "$CONTAINER_ID"
5959
)
6060
}
61+
62+
# shellcheck disable=SC2154
63+
if [[ ${platform} == "linux" ]]; then
64+
systemctl --user start podman.socket >&2 2> /dev/null
65+
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
66+
fi

0 commit comments

Comments
 (0)