Difference between revisions of "Podman"
From John Freier
Line 12: | Line 12: | ||
'''View Logs''' | '''View Logs''' | ||
− | podman logs | + | podman logs ff22b3bfecc1 |
'''Stop the latest container''' | '''Stop the latest container''' | ||
− | + | podman stop ff22b3bfecc1 | |
− | + | '''List all containers''' | |
+ | podman ps -a | ||
+ | |||
+ | '''Remove Container''' | ||
+ | podman rm ff22b3bfecc1 |
Revision as of 10:03, 6 April 2022
List Images
podman images
List running images
podman ps
Pull an image
podman pull docker.io/library/httpd
Run an image
podman run -dt -p 8080:80/tcp docker.io/library/httpd
View Logs
podman logs ff22b3bfecc1
Stop the latest container
podman stop ff22b3bfecc1
List all containers
podman ps -a
Remove Container
podman rm ff22b3bfecc1