Created
November 4, 2021 23:54
-
-
Save davidmroth/88c1b785bb3c6dfd2e88d56d50ca0f4a to your computer and use it in GitHub Desktop.
Podman w/ docker-compose on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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