Skip to main content
Glama

run_container

Start a new container with specified image, ports, volumes, and environment variables. Configure container settings and run applications in isolated environments.

Instructions

Run a new container.

Input Schema

NameRequiredDescriptionDefault
imageYesContainer image
nameNoOptional name
detachNoRun in background
portsNoPort mappings (e.g., ['8080:80'])
envNoEnvironment variables (KEY=VAL)
volumesNoVolumes (e.g., ['/host:/container'])

Input Schema (JSON Schema)

{ "properties": { "detach": { "default": true, "description": "Run in background", "title": "Detach", "type": "boolean" }, "env": { "description": "Environment variables (KEY=VAL)", "items": { "type": "string" }, "title": "Env", "type": "array" }, "image": { "description": "Container image", "title": "Image", "type": "string" }, "name": { "default": null, "description": "Optional name", "title": "Name", "type": "string" }, "ports": { "description": "Port mappings (e.g., ['8080:80'])", "items": { "type": "string" }, "title": "Ports", "type": "array" }, "volumes": { "description": "Volumes (e.g., ['/host:/container'])", "items": { "type": "string" }, "title": "Volumes", "type": "array" } }, "required": [ "image" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kunwarmahen/podman-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server