- add a new alias to your shell (bash or zsh) to create a temporary Unix Domain Socket for podman
you need
jq
installed confirm the path forpodman.sock
withpodman system connection list --format=json
podman-sock='rm -f /tmp/podman.sock && ssh -i ~/.ssh/podman-machine -p $(podman system connection list --format=json | jq ''.[0].URI'' | sed -E ''s|.+://.+@.+:([[:digit:]]+)/.+|\1|'') -L''/tmp/podman.sock:/run/user/501/podman/podman.sock'' -N core@localhost'
- set the following env vars to configure Test Containers for
podman