# podman cheat sheet show running containers: ``` podman ps ``` show images: ``` podman images ``` build image: ``` podman build -f Containerfile -t localhost/nextcloud:latest -t localhost/nextcloud:$today ``` create container: ``` podman create --name nextcloud localhost/nextcloud ``` get container IP: ``` podman inspect -f '{{ .NetworkSettings.IPAddress }}' nextcloud ``` log into container shell: ``` podman exec -it nextcloud bash ```