Hi Loren,
Check the container logs with `podman logs <Container ID or name> `.
Paul
On Sat, Jul 2, 2022 at 1:18 PM Daniel Walsh <dwalsh(a)redhat.com> wrote:
On 6/27/22 17:59, Loren Amelang wrote:
> I've installed Podman on a Raspberry Pi Zero W, and want to test the
> network connection. I found this:
>
> pi@raspberrypi:~/tripod $ podman pull docker.io/library/httpd
>
> pi@raspberrypi:~/tripod $ podman run -dt -p 8088:80/tcp
> docker.io/library/httpd
> 54a005199e38260bae58a6a5437dd0fbde62f2f596b25d928fb346328cfc9e73
> pi@raspberrypi:~/tripod $
>
> I chose "8088:80" because incoming port 8080 is already in use and
> working on that Pi. Seems that is valid?
>
> It seems to run, but closes itself in under a minute:
>
> pi@raspberrypi:~/tripod $ podman ps -a
> CONTAINER ID IMAGE COMMAND CREATED
> STATUS PORTS NAMES
> 54a005199e38 docker.io/library/httpd httpd-foreground 26 minutes
> ago Exited (139) 26 minutes ago 0.0.0.0:8088->80/tcp hopeful_buck
> 787779b20e96 docker.io/library/httpd httpd-foreground 18 seconds
> ago Exited (139) 16 seconds ago 0.0.0.0:8088->80/tcp pedantic_yonath
> pi@raspberrypi:~/tripod $
>
> pi@raspberrypi:~/tripod $ podman logs -l
> pi@raspberrypi:~/tripod $
> pi@raspberrypi:~/tripod $ podman top -l
> Error: top can only be used on running containers
> pi@raspberrypi:~/tripod $
>
> slirp4netns is already the newest version (1.0.1-2).
>
> Could someone please suggest what to check next?
>
> Loren
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io