Skip to main content
Glama
Swartdraak

Docker MCP Server

by Swartdraak

run_container

Create and start Docker containers with specified images, configurations, and environment settings for application deployment and testing.

Instructions

Run a container (create and start). This is the preferred method for starting containers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesDocker image name (e.g., 'nginx:latest')
nameNoContainer name
commandNoCommand to run as an array (e.g., ['python', 'app.py'])
entrypointNoEntrypoint as an array (e.g., ['/bin/bash', '-c'])
envNoEnvironment variables as array of KEY=VALUE strings (e.g., ['NODE_ENV=production', 'PORT=3000'])
exposedPortsNoExposed ports as object with port/protocol keys (e.g., {'80/tcp': {}, '443/tcp': {}})
hostConfigNoHost configuration including port bindings and volumes
labelsNoContainer labels as key-value pairs

Latest Blog Posts

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/Swartdraak/Docker-MCP'

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