Module docker_runtime

Module docker_runtime 

Source
Expand description

Docker Runtime - Execute skills in Docker containers

This module provides the ability to run skills inside Docker containers, enabling use of existing container images as skill backends.

§Example Manifest Configuration

[skills.ffmpeg]
source = "docker:jrottenberg/ffmpeg:5-alpine"
runtime = "docker"

[skills.ffmpeg.docker]
image = "jrottenberg/ffmpeg:5-alpine"
entrypoint = "/usr/local/bin/ffmpeg"
volumes = ["${SKILL_WORKDIR}:/workdir"]
working_dir = "/workdir"
memory = "512m"
cpus = "2"
network = "none"
rm = true

Structs§

DockerOutput
Output from Docker container execution
DockerRuntime
Docker runtime executor
DockerSecurityPolicy
Security constraints for Docker execution