skills/import-compose/SKILL.md
Import Docker Compose files into Kurtosis. Convert docker-compose.yml to Starlark packages or run them directly. Use when migrating existing Docker Compose workflows to Kurtosis.
npx skillsauth add kurtosis-tech/kurtosis import-composeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Import Docker Compose files into Kurtosis, either running them directly or converting to Starlark.
kurtosis import docker-compose.yml
This creates an enclave and runs all services defined in the Compose file.
kurtosis import -n my-enclave docker-compose.yml
Generate Starlark code from a Compose file without executing:
kurtosis import -c docker-compose.yml
This outputs Starlark that you can save and customize.
kurtosis import -e ./custom.env docker-compose.yml
Default is .env in the current directory.
Most common Compose features are supported:
development
Develop and debug Kurtosis Starlark packages. Create packages from scratch, understand the plan-based execution model, use print() debugging, handle future references, and test packages locally. Use when writing or troubleshooting .star files.
data-ai
Manage services in Kurtosis enclaves. Add, inspect, stop, start, remove, update services. View logs, shell into containers, and execute commands. Use when you need to interact with running services.
content-media
Run Starlark scripts and packages with kurtosis run. Covers all flags including dry-run, args-file, parallel execution, image download modes, verbosity levels, and production mode. Use when executing Kurtosis packages locally or from GitHub.
testing
Manage Kurtosis Portal for remote context access. Start, stop, and check status of the Portal daemon that enables communication with remote Kurtosis servers. Use when working with remote Kurtosis contexts.