Use Remote Dev Container Development using Podman
已回答
I would like to use my Windows client to remotely connect to Dev Containers in my Linux VDI running Podman, but I am having a lot of issues achieving this.
Firstly I followed this guide: https://github.com/containers/podman/blob/main/docs/tutorials/mac_win_client.md to connect my windows podman to my linux podman via ssh and it was successful as I can see my linux containers by calling ‘podman ps’ from windows.
From Gateway, I click on Dev Containers and create a new connection and under the section Connect to DOcker daemon with: I click on Podman (beta) . I can see my connection but I get this error:

which is weird because this is supposed to be podman, not docker . Is there any way to fix this?
请先登录再写评论。
Hello, A Pozzer. If you want to use Podman on the remote server, I'd suggest selecting the SSH option instead of the Podman one, as the Podman option works with the local scenario only. Please note that the SSH option doesn't support password as SSH authentication method; using a key pair (Key pair or OpenSSH config option) is mandatory for it.
Hi Olga,
If I select SSH (using key pair or Open SSH) I am getting the error:
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program “docker.exe”: CreateProcess error=2, The system cannot find the file specified.
If I untick ‘Detect executable paths automatically’ on top and select the podman.exe filepath then it says that it can't open that path and then it hangs on “Connecting…” . Is there any way to get this working?
I can confirm, I'm having the same issue, when trying to use “Podman (beta)” connection for a remote socket.
A Pozzer, please accept my apologies for the lack of reply from my side; it seems our workflows didn't notify me about your answer.
krystian.lew, for the case with the connection to the remote Podman, you could use one of the setups described below:
Olga Mulina, thank you for quick response.
I wrote my comment, because the `podman socket` doesn't seem to be working, even if the requirements are met.
So, in macOS terminal, I'm able to run
podman-remote psand get the list of running containers.When configuring a new container connection in Gateway or IntelliJ I can see the same connection name as the one reported by
podman system connection liston remote Linux host.But then IntelliJ or Gateway present quite a confusing error message (attached).
krystian.lew, thank you for the update.
Could you please double-check that the
systemdsocket is running on the side of your remote server, as mentioned in this instruction? It should be, as without it the IDE wouldn't be able to detect the remote Podman connection, but I'd like to double-check.If the error in the UI persists after you check, please consider collecting the extended logs and sharing them so I can investigate further. To collect logs, please perform the following steps:
Help | Diagnostic Tools | Debug Log Settingswindow;com.intellij.dockerline there;Help | Collect Logs and Diagnostic Data) the IDE logs.You can share the logs using our JetBrains Uploads service and write me the ID you receive there.
Hi Olga Mulina I have the exact same issue as Krystian.. Intellij IDEA on windows pc, connecting with podman remote to CoreOS podman installation
JetBrains upload id 2026_02_20_27fut9it7qCV7RFqdjaYnG
PODMAN info
Oh and by the way I am using this setup with VSCode but i'd rather use IDEA Ultimate.
In my case I have system with rootless Podman, SELinux and devcontainer.json with
And in this case VSCode with relevant plugin works but I can't find how to set up Intellis in this case so it would work as intentionally.
My problem is that I get read access error due to selinux restrictions and can't seem to add custom podman args and change volume options (I think I need :z or :Z but I don't see how I can set them)
Update:
I kind of “fixed” this issue by adding one more item to
"runArgs"-"--security-opt=label=disable", but I feel it's like a workaround.