image_remove
Removes a Docker or Podman image from the local machine storage
How to use it
image_remove is exposed by the Podman MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the image_remove tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Podman MCP Server
npx podman-mcp-server@latest --helpOther tools in Podman MCP Server (17)
Displays the low-level information and configuration of a Docker or Podman container with the specified container ID or name
Prints out information about the running Docker or Podman containers
Displays the logs of a Docker or Podman container with the specified container ID or name
Removes a Docker or Podman container with the specified container ID or name (rm)
Runs a Docker or Podman container with the specified image name
Stops a Docker or Podman running container with the specified container ID or name
(string) (required) - The absolute path to the Dockerfile, Podmanfile, or Containerfile to build the image from
(array) - Environment variables to set in the container. Format: <key>=<value>. Example: FOO=bar. (Optional, add only to set environment variables)
Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile
List the Docker or Podman images on the local machine
Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage
Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry
(string) (required) - Docker or Podman container image name to run
(string) (required) - Docker or Podman container ID or name to display the information
List all the available Docker or Podman networks
(array) - Port mappings to expose on the host. Format: <hostPort>:<containerPort>. Example: 8080:80. (Optional, add only to expose ports)
List all the available Docker or Podman volumes