You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Podman detection relies on DOCKER_HOST but the env var might not always be set. For example, on macOS, there is a helper that symlinks /var/run/docker.sock to the Podman socket so setting DOCKER_HOST is not necessary.
To be more reliable the detection heuristic should lean on the default host detection, which also checks the testcontainer config and even could be extended to resolve the symlinked socket location to detect the use of Podman.
I already played around with these ideas and am happy to provide a PR if you also think this makes sense.
Proposal
The Podman detection relies on DOCKER_HOST but the env var might not always be set. For example, on macOS, there is a helper that symlinks
/var/run/docker.sock
to the Podman socket so settingDOCKER_HOST
is not necessary.To be more reliable the detection heuristic should lean on the default host detection, which also checks the testcontainer config and even could be extended to resolve the symlinked socket location to detect the use of Podman.
I already played around with these ideas and am happy to provide a PR if you also think this makes sense.
Related: #2264
The text was updated successfully, but these errors were encountered: