LazyTools

Docker Run to Compose

Turn a docker run command into a docker-compose.yml file

docker run command
Paste a command with backslash line breaks, quotes and combined flags like -dit.
docker-compose.yml
The Compose file appears here as you type.
Paste a docker run command, or load the example, to see the Compose file.

The conversion runs entirely in your browser. Your command, including any passwords in it, is never sent anywhere.