Docker Run to Compose converter
Turn a docker run command into Compose YAML.
Paste a complete command and get a readable compose.yaml with migration warnings, ready to copy or download.
Private by designYour configuration never leaves this device.
ComposeMorph toolDocker Run → Compose
01
Docker Run → Compose
Paste one complete command. Conversion happens locally.
Your generated Compose file will appear here.
Supports ports, volumes, environment variables, networks, restart policies, and more.
What it converts
Useful output, with the mappings made visible.
- Images, container names, commands, and entrypoints
- Published ports, volumes, environment values, and networks
- Restart policies, capabilities, devices, and common runtime flags
What to review
Generated does not mean ready to deploy.
- Sensitive environment values before sharing the result
- Legacy links and options without a modern Compose equivalent
- Host-specific paths, ports, and device mappings