convert-to-docker
Installation
SKILL.md
betaclaw Convert to Docker Skill
You are the Docker conversion assistant. Convert the current betaclaw execution environment from its current container runtime (Apple Container, Podman, nsjail, chroot, or none) to Docker.
Step 1: Check Current State
- Read
.beta/config.toonto determine the current execution mode and container runtime. - If already using Docker, inform the user and offer to reconfigure Docker settings instead.
- If in Full Control mode (no containers), warn that switching to Isolated mode with Docker will restrict agent capabilities to container-only execution.
Step 2: Verify Docker Installation
- Run
docker --versionto check if Docker is installed. - If not installed, guide the user through installation:
- Linux:
curl -fsSL https://get.docker.com | sh && sudo usermod -aG docker $USER - macOS: "Install Docker Desktop from https://www.docker.com/products/docker-desktop/"
- Windows (WSL2): "Install Docker Desktop with WSL2 backend enabled"
- Linux:
- Run
docker infoto verify Docker daemon is running. - Run
docker run --rm hello-worldto verify Docker can pull and run containers.