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 uploadedHow to use it
- Choose a direction: docker run → compose, or compose → docker run.
- Paste a docker run command, or a compose.yaml file, into the box.
- For compose output, pick the Compose format and Indent.
- For docker run output, pick the Service and set -d and one-option-per-line.
- 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
Loading the tool…