I'm trying to connect connect my postgre DB (in a container) using pgadmin (in a different container).
I tried using the inspect command but the IPAddress is just an empty string:
$ podman inspect serene_lovelace | grep -i ipaddress
returns
"IPAddress": "",
Edit:
Turns out the IP I needed is just the WSL2 intance's IP, here's how I obtain it:
ip addr | grep 172
returns
inet 172.26.240.194/20 brd 172.26.255.255 scope global eth0