diff --git a/test-on-mac-with-podman.sh b/test-on-mac-with-podman.sh new file mode 100755 index 0000000..3f8d94a --- /dev/null +++ b/test-on-mac-with-podman.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# As documented here https://java.testcontainers.org/supported_docker_environment/#podman + + export DOCKER_HOST=unix://$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}') + export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock + export TESTCONTAINERS_RYUK_DISABLED=true + + ./gradlew --info test \ No newline at end of file