Remove Images
Using the Podman containers page, Cockpit administrators can remove a single unused image or remove all unused images on a host system. Typically, images are removed to free up disk space or to download newer versions of an image.
Note:
Images can't be removed when associated with a Podman container. All container image dependencies must be removed before removing an image. For more information about deleting container images, see Working With Container Images in the Install and Configure Cockpit-Podman.What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The Podman container tools must be installed on the host system. For information on how to install Podman, see Installing Podman and Related Utilities in Oracle Linux: Podman User's Guide.
- The Cockpit-Podman add-on application must be installed. For further information on how to configure the Cockpit web console to interact with Podman, see Install and Configure Cockpit-Podman.
- A copy of one or more images must appear in the Images section on the Podman containers page. For details on how to search and download images, see Search and Download New Images.
Steps
Using the Cockpit web console, follow these steps to remove a single unused image or all unused images on a host system.