Podman Overview commands
podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3ab2fc4893d3 localhost/podman-pause:4.9.3-0 3 weeks ago Up 3 weeks 127.0.0.1:8000->8000/tcp, 127.0.0.1:8443->8443/tcp e93a7d115be6-infra
c3930453f0db docker.io/guacamole/guacd:latest /bin/sh -c /opt/g... 3 weeks ago Up 3 weeks (healthy) 127.0.0.1:8000->8000/tcp, 127.0.0.1:8443->8443/tcp guacd
bb4a6589771b docker.io/guacamole/guacamole:latest /opt/guacamole/bi... 3 weeks ago Up 3 weeks 127.0.0.1:8000->8000/tcp, 127.0.0.1:8443->8443/tcp guacamole
a9f29583b106 ghcr.io/rroemhild/docker-test-openldap:master /init 3 weeks ago Up 3 weeks (healthy) 127.0.0.1:8000->8000/tcp, 127.0.0.1:8443->8443/tcp test-openldap
d477ae5949f0 docker.io/library/postgres:latest postgres 3 weeks ago Up 3 weeks 127.0.0.1:8000->8000/tcp, 127.0.0.1:8443->8443/tcp postgres
The NAMES
or CONTAINER ID
can be used here.
podman logs guacd
guacd[1]: INFO: Guacamole proxy daemon (guacd) version 1.5.5 started
guacd[1]: INFO: Listening on host 0.0.0.0, port 4822
Viewing the pods
podman pod ps
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
e93a7d115be6 guacpod Running 3 weeks ago 3ab2fc4893d3 5
Viewing all the logs
You can either use the POD ID
or NAME
This will follow the logs until you hit CTRL+C
podman pod logs guacpod
podman pod logs --follow guacpod
a9f29583b106 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
a9f29583b106 [s6-init] ensuring user provided files have correct perms...exited 0.
a9f29583b106 [fix-attrs.d] applying ownership & permissions fixes...
a9f29583b106 [fix-attrs.d] done.
a9f29583b106 [cont-init.d] executing container initialization scripts...
a9f29583b106 [cont-init.d] 000-slapd-package-config: executing...
bb4a6589771b Using default Tomcat allowed IPs regex
And you can see here the first column has the CONTAINER ID
which can be seen in the podman ps
output.