Remove pods
Delete stopped pods by using the podman pod rm command. This removes the pod definition and all associated containers from your system.
Before you begin
- The
container-toolsmeta-package is installed. - The pod has been stopped. For details, see section Stopping pods.
Procedure
Remove the pod
mypod, type:
$ podman pod rm mypod
223df6b390b4ea87a090a4b5207f7b9b003187a6960bd37631ae9bc12c433aff
Note that removing the pod automatically removes all containers inside it.
Results
- Validate that all containers and pods were removed:
$ podman ps
$ *podman pod ps*
For more information, see the podman-pod-rm(1) man page on your system.