There are circumstances where only podman-remote command is available but not podman:
https://github.com/flathub/com.visualstudio.code.tool.podman
It's also not feasible there to set CONTAINER_HOST env var and impossible at all to pass an extra --podman-path during podman-compose run, which could be a workaround in this case (as the command calls via VS Code extension which doesn't support that).
To address this, could we implement fall-back to podman-remote if podman is not available?
IIUC, that would also correspond to Docker behavior, which always works via socket.
There are circumstances where only
podman-remotecommand is available but notpodman:https://github.com/flathub/com.visualstudio.code.tool.podman
It's also not feasible there to set
CONTAINER_HOSTenv var and impossible at all to pass an extra--podman-pathduringpodman-composerun, which could be a workaround in this case (as the command calls via VS Code extension which doesn't support that).To address this, could we implement fall-back to
podman-remoteifpodmanis not available?IIUC, that would also correspond to Docker behavior, which always works via socket.