MCPVault

containerFile

MCP tool from Podman MCP Server by manusa

(string) (required) - The absolute path to the Dockerfile, Podmanfile, or Containerfile to build the image from

How to use it

containerFile is exposed by the Podman MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the containerFile 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 --help
FULL PODMAN MCP SERVER LISTING

Other tools in Podman MCP Server (17)

container_inspect

Displays the low-level information and configuration of a Docker or Podman container with the specified container ID or name

container_list

Prints out information about the running Docker or Podman containers

container_logs

Displays the logs of a Docker or Podman container with the specified container ID or name

container_remove

Removes a Docker or Podman container with the specified container ID or name (rm)

container_run

Runs a Docker or Podman container with the specified image name

container_stop

Stops a Docker or Podman running container with the specified container ID or name

environment

(array) - Environment variables to set in the container. Format: <key>=<value>. Example: FOO=bar. (Optional, add only to set environment variables)

image_build

Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile

image_list

List the Docker or Podman images on the local machine

image_pull

Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage

image_push

Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry

image_remove

Removes a Docker or Podman image from the local machine storage

imageName

(string) (required) - Docker or Podman container image name to run

name

(string) (required) - Docker or Podman container ID or name to display the information

network_list

List all the available Docker or Podman networks

ports

(array) - Port mappings to expose on the host. Format: <hostPort>:<containerPort>. Example: 8080:80. (Optional, add only to expose ports)

volume_list

List all the available Docker or Podman volumes