Skip to main content
Glama

create_container

Create LXC containers in Proxmox VE from templates with configurable resources like CPU cores, memory, storage, and network settings.

Instructions

Create a new LXC container from a template.

Args: node: Target node name (e.g. 'pve'). name: Container hostname. template: Template volume ID (e.g. 'local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst'). Use list_storage_content with content_type='vztmpl' to find available templates. cores: Number of CPU cores (default 1). memory: Memory in MB (default 512). disk_size: Root disk size in GB (default 8). storage_pool: Storage for rootfs (default 'local-lvm'). net_bridge: Network bridge (default 'vmbr0'). password: Optional root password. ssh_public_keys: Optional SSH public keys for root access. start_after_create: Start container after creation (default false). vmid: Optional specific VMID. Auto-assigned if not provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeYes
nameYes
templateYes
coresNo
memoryNo
disk_sizeNo
storage_poolNolocal-lvm
net_bridgeNovmbr0
passwordNo
ssh_public_keysNo
start_after_createNo
vmidNo

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/antonio-mello-ai/mcp-proxmox'

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