Comment on Can't access exposed rootful podman container from outside of host device
InnerScientist@lemmy.world 2 weeks ago
Use ss -tlpn
or podman ps
to show what ports podman I’d listening on, my guess is it is only listening on localhost.
Comment on Can't access exposed rootful podman container from outside of host device
InnerScientist@lemmy.world 2 weeks ago
Use ss -tlpn
or podman ps
to show what ports podman I’d listening on, my guess is it is only listening on localhost.
confusedpuppy@lemmy.dbzer0.com 2 weeks ago
podman ps shows the following:
netstat -tunpl
shows the following:The only difference for the netstat command between Docker and Podman is that Podman show’s entries for aardvark-dns and Docker does not which is something I expect.
InnerScientist@lemmy.world 2 weeks ago
Disable the firewall if you can to check if that’s the issue, then do a tcpdump using root with the port. Do tcpdump inside the container too and compare what you see to the docker environment.
Is caddy-caddy really the correct image?
Try with this command, it’s the minimal setup that works by default (on my machine):
podman run -p 0.0.0.0:5050:80 docker.io/library/caddy:latest