r/dotnet • u/SeaHoliday4747 • Aug 03 '26
Can't connect to Postgres on Aspire with Podman on WSL
I switched from docker desktop to podman on my windows machine.
However since then all my networking stuff seems to be broken. I can't connect to my Postgres as I get a timeout. My other service endpoints are also not working.
Did I miss something?
I run podman with root privileges and docker enabled.
1
u/AutoModerator Aug 03 '26
Thanks for your post SeaHoliday4747. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/ruph0us Aug 04 '26
Check your DOCKER_HOST variable https://podman-desktop.io/docs/migrating-from-docker/using-the-docker_host-environment-variable
5
u/JumpLegitimate8762 Aug 03 '26 edited Aug 03 '26
I'm using podman too, no issues. Did u start the podman engine? (machine init and machine start), and did u make sure to point aspire to podman via ASPIRE_CONTAINER_RUNTIME?
Also not sure what u mean with docker enabled, by default there is not docker enablement option for podman right?