Skip to main content
Glama

create_container

Create a new Docker container on a VPS by specifying image, name, ports, volumes, environment variables, network, and restart policy.

Instructions

Create a new container

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoContainer name
imageYesImage to use (e.g., nginx:latest)
envNoEnvironment variables (e.g., ["VAR=value"])
portsNoPort mappings (e.g., {"80/tcp": [{"HostPort": "8080"}]})
volumesNoVolume bindings
networkNoNetwork to connect to
restart_policyNoRestart policy (no, always, on-failure, unless-stopped)

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/onlitec/VPS-MCP-SERVER'

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