-
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
[Bug]: After recreating Podman machine containers don't answer to host #17329
Comments
Are you running podman machine as rootful? Sine the update to version 4.4.0 I'm getting the following error:
if this is not related than I will create a new issue |
Yep, I running it as rootful. |
@shikigami12 Just a guess but I assume this is not related to recreating the machine but rather the fact that you switch to rootful mode? Am I right? |
@Luap99 It doesn't matter whether run I podman machine in rootful or rootless state, after recreating the machine and running containers they stop responding on the host machine. Here is a part of my bootstrap script in PowerShell:
and on the service in docker-compose.yml
Today I tried to start it with rootful mode and rootless, but no luck. Every time, I need to reboot my PC to receive some response from the container. |
If you are running the following command
Are you getting the same error as me? If not these are seperate issues |
The issue the same for me:
|
@n1hility PTAL |
Will take a look. The problem fixed by #17262 might be the culprit (didnt make 4.4.0). (Updated fixed link) |
Ok, sorry about the issue. I can confirm this will be fixed once #17355 is merged and we can cut a new 4.4.1+ release In the meantime, to workaround, I recommend either downgrading to 4.3.1 or alternatively, you can add |
thanks |
A friendly reminder that this issue had no activity for 30 days. |
This was fix in 4.4 |
Issue Description
On Windows 10, after reinitialising, Podman machine containers stop responding on mapped ports. I have a compose file that I use in my system to run services. When I boot the machine and run a
docker-compose up -d
all works fine, containers answering on their ports, but if remove the Podman machine and init, and start it then rundocker-compose up -d
containers stop responding on their ports.Steps to reproduce the issue
Steps to reproduce the issue
docker-compose up -d
podman machine stop
podman machine rm
podman machine init --rootful
podman machine start
docker-compose up -d
Describe the results you received
containers with mapped ports eg. 80:8080,5432:5432 stops responding from the host machine
Describe the results you expected
containers proceed responding on mapped ports
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
WSL2
Additional information
No response
The text was updated successfully, but these errors were encountered: