Docker Run to Compose Converter
Paste a docker run command and get the matching Docker Compose service. Common options are converted, and the rest are named so you can add them by hand.
1 Paste or type your text
2 Your answer
Your answer shows here as you type.
How to use the Docker Run to Compose Converter
- Paste your docker run command.
- Read the Compose service below.
- Add any option that was not converted by hand.
Frequently asked questions
Does this support every docker run option?
No. Common options are converted, and others are named so you can add them yourself.
What is the service name?
It is the container name if you set one, otherwise the image name.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.