About Docker Run to Compose
Turn common docker run commands into a starter Compose service block you can keep editing for a stack file.
Common use cases
- Migrate one-off container commands into Compose
- Document container settings for teammates
- Extract ports, volumes and env vars from copied docker run commands
How to use
- 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.