1

We're trying to improve on the Mailman3 Docker project, converting it to podman(4.4.1) pod. I've seen several "address in use" errors. I believe the way to debug them is to find what's holding onto the port and stop it, or else use a different port. But on this VM, I cannot get the port to release. I've issued the following commands as the user that's been starting the pod. None of them seem to reset networking to release the usage of the port:

» podman pod stop <pod>
» podman pod rm <pod>
» podman system prune --all --force
» podman system reset

I only see this rootlessport service using the port, which I thought was related to podman itself?

» netstat -plan | grep :8000
tcp6       0      0 :::8000                 :::*                    LISTEN      40976/rootlessport
»

What is rootlessport, and how do I get it to release the port? I don't believe it's a systemd service:

»root ~» systemctl -l | grep -i rootlessport
»root ~1»

Possible related bug: podman issue 9083

1 Answer 1

1

I found that rootlessport is part of the podman package.

I was able to kill the process as root:

kill $( ps aux | grep rootlessport )

After that, the port was released, and I could spin up new containers.

I'm still not sure what went wrong. I found nothing in podman logs, and also nothing from this:

» journalctl -u rootlessport
-- No entries --

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.