build_container_based_template
Create custom Docker container templates for deploying applications like Splunk, Wazuh, and Grafana in cyber range environments.
Instructions
Build a custom container-based template for applications.
This tool creates templates specifically designed to run Docker containers, perfect for deploying applications like Splunk, Wazuh, Grafana, etc.
Args: name: Template name (e.g., "ubuntu-splunk-server") base_os: Base OS (e.g., "ubuntu-22.04", "debian-12", "rocky-9") containers: List of container configurations with image, ports, volumes, env description: Template description
Returns: Template creation result with docker-compose configuration
Example: # Create a Splunk container template result = await create_container_template( name="ubuntu-splunk-server", base_os="ubuntu-22.04", containers=[{ "image": "splunk/splunk:latest", "ports": ["8000:8000", "8088:8088", "9997:9997"], "environment": { "SPLUNK_START_ARGS": "--accept-license", "SPLUNK_PASSWORD": "changeme123!" } }], description="Ubuntu 22.04 with Splunk container" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| base_os | Yes | ||
| containers | Yes | ||
| description | No |