Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Podman w/ docker-compose on MacOS
# Get ssh configuration to find port
podman system connection ls
# Create ssh tunnel [PORT] found in the above command
ssh -nNT -L/tmp/podman.sock:/run/user/1000/podman/podman.sock -i ~/.ssh/podman-machine-default ssh://core@localhost:[PORT]
# Export socket location for docker-compose
export DOCKER_HOST='unix:///tmp/podman.sock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment