Command | Description |
---|---|
podman ps -a | Retrieves a list of the containers and their IDs |
podman stop container-id | Stops a running container |
podman rm container-id | Removes a container
Note: The
podman rm command is not needed if the image was run with the
--rm option, which automatically removes the container when it is stopped.
|
podman images | Retrieves a list of the images and their IDs |
podman rmi image-id | Removes an image |