podman machine inspect should report IP address #16353
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
remote
Problem is in podman-remote
stale-issue
windows
issue/bug on Windows
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
I am using Podman 4.3.0 on Windows 11 WSL2, and attempting to contact the podman machine from another Linux distribution.
The default
podman system connection list
SSH URI containslocalhost
as host name, and this does not resolve properly from within another WSL distro.I have worked around this by obtaining the IP address of the podman machine, but as this changes every time the machine is started (and
ifconfig
is unavailable) this is klunky.Steps to reproduce the issue:
podman machine start
podman machine inspect
Look for IP address in the JSON output.
Describe the results you received:
Describe the results you expected:
An IP address so I can construct a
CONTAINER_HOST
URL that works from within a WSL distro.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:From Windows
From Ubuntu
Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Host is a Windows 11 laptop with WSL2. Client is an Ubuntu 22.04 WSL distribution.
The text was updated successfully, but these errors were encountered: