VI · Developer & Web
VI · Developer & WebAV-W12

AV-W12

Docker Run ⇄ Compose

Convert docker run commands into compose.yaml, and a single compose service back into docker run.

● Runs on your device; nothing is uploaded

How to use it

  1. Choose a direction: docker run → compose, or compose → docker run.
  2. Paste a docker run command, or a compose.yaml file, into the box.
  3. For compose output, pick the Compose format and Indent.
  4. For docker run output, pick the Service and set -d and one-option-per-line.
  5. Read any warnings, then copy the result.

Limits

Input size
200,000 characters
compose → docker run
One service at a time
Features
  • Compose Specification output, or legacy version "3" or "2"
  • Strips a leading sudo and accepts podman commands
  • Converts ports, volumes, environment, restart policy and healthchecks
  • Warns about keys docker run cannot express, such as build
  • Flags ${VAR} placeholders that are not substituted

For AI agents: avtools_docker_compose_converter

AV-W12 · Docker Run ⇄ Compose

Loading the tool…