-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem running podman commands in windows but podman ssh is working #22373
Comments
Why is podman using the URL: "http://d/v5.0.1/libpod/_ping" When trying to connect? Running:
Returns:
and podman system connection list gives:
|
this could be any number of problems. it sounds like it works and then something is going on that causes it to fail. right ? |
Agreed, I'm trying to figure best way to debug why the connection is failing. It seems like an issue with the REST API since the commands in the WSL-2 distro created by Podman machine are working |
i dont think the REST API as much as the socket |
Could easily be a socket issue, Any suggestions on how to debug? |
A friendly reminder that this issue had no activity for 30 days. |
Same problem here on Windows 11 and Podman 5.1.0 ( Podman machine is running and container can be started from "Podman Desktop" but not from terminal.
|
I've also hit this. I can replicate the error by performing |
Have you tried to create the podman machine with root privileges? I had the same issue than you, and I realized that I had created the machine without root privileges, but with podman desktop I created the machine with root privilege, and now, I can do things like podman ps, or podman version. |
on Windows 11 execute below command and it worked |
Same error here! It works with podman-compose downgraded to 1.0.6 windows 11 |
Issue Description
On Windows, I'm sometimes getting into a state where I can't run some commands from the terminal including "podman version" but I can run "podman machine ssh" without issue and then run these commands inside the machine without issue. What's the best way to debug or fix?
Steps to reproduce the issue
Create podman machine run, later run podman commands
Describe the results you received
Run the command
podman version
returns
But the command:
podman machine ssh
works as expected:
Describe the results you expected
podman version runs the current version
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
wsl --version
Additional information
Any pointers on the best way to debug would be appreciated,
The text was updated successfully, but these errors were encountered: