Free Docker Tool

Convert docker run todocker-compose.yml

Paste any docker run command and get a production-ready docker-compose.yml in seconds. Handles -e, -p, -v, --restart, --network, and more — 100% in your browser.

Instant Conversion

Paste your docker run command and see the docker-compose.yml update in real-time as you type.

🔧

All Flags Supported

Handles -e, -p, -v, --name, --network, --restart, --entrypoint, --user, --workdir, and more.

🔒

100% Private

All parsing runs entirely in your browser. Your commands are never sent to any server.

$ docker run …

Your docker-compose.yml will appear here.

Paste a docker run command above or click to get started.

Frequently Asked Questions

Everything you need to know about Docker Run to Compose Converter.