Tool area
Use it directly on this page
DockerComposeDevOps
Tool area
Loading tool
The tool will be ready here as soon as the page finishes loading.
How to use
How to use Docker Run to Compose
Common uses
Docker Run to Compose works well for these tasks
Migrate one-off container commands into Compose
Document container settings for teammates
Extract ports, volumes and env vars from copied docker run commands
FAQ
Frequently asked questions
Migrate one-off container commands into Compose
Paste the docker run command into the editor. Review the detected image, ports, volumes and environment variables. Copy the generated Compose block and continue editing it in your project.
Most people continue with JSON Formatter, Regex Tester, HTTP Status Code Lookup next.