import-compose

Migrate Docker Compose workflows to Kurtosis via direct execution or Starlark conversion.

547|97|Updated Feb 14, 2023
One-click install
npx skills add https://github.com/kurtosis-tech/kurtosis --skill import-compose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import-compose
Source: https://github.com/kurtosis-tech/kurtosis/tree/main/skills/import-compose
Command: npx skills add https://github.com/kurtosis-tech/kurtosis --skill import-compose

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Importing and migrating Docker Compose workflows into Kurtosis can be tedious, error-prone, and time-consuming; this skill streamlines the process by allowing you to run compose definitions directly or convert them into Starlark packages that Kurtosis can load and orchestrate.

Core Features & Use Cases

  • Run docker-compose files directly inside Kurtosis to bring up services quickly.
  • Convert docker-compose.yml to Starlark code for reproducible, parameterizable stack definitions.
  • Use when migrating existing Docker Compose workflows to Kurtosis to leverage Kurtosis' enclaves and orchestration.

Quick Start

Run kurtosis import docker-compose.yml to execute the services defined in your compose file.

Frequently Asked Questions about import-compose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Docker Compose workflows to Kurtosis?

No, you can run Docker Compose files directly inside Kurtosis using the import command. You also have the option to convert them to Starlark packages for reproducible, parameterizable stack definitions.

Does converting docker-compose.yml to Starlark support environment files?

Yes, converting docker-compose.yml to Starlark supports optional environment files. This allows you to migrate existing multi-service deployments while preserving your environment configurations.

Do I need the Kurtosis CLI installed to import Docker Compose files?

Yes, you need the Kurtosis CLI installed with a running engine. This setup is required to execute the import command and orchestrate the imported Docker Compose services inside Kurtosis enclaves.

What is the best way to test multi-service deployments migrated from Docker Compose?

The best way to test multi-service deployments is importing the Docker Compose file into Kurtosis. This leverages Kurtosis enclaves and orchestration to run and test the stack directly or as converted Starlark code.

Can I parameterize Docker Compose stacks after converting them to Starlark?

Yes, converting Docker Compose files to Starlark packages makes the stacks reproducible and parameterizable. This enables flexible configuration when onboarding new services into your Kurtosis workflows.