← All tools

Docker Run to Compose

Translate common docker run flags into a reviewable Compose YAML service.

Input

Input stays in this browser. Nothing is uploaded or stored.

Result

Run the tool to see its result here.

How to use this tool

Paste a single docker run command, then review ports, mounts, environment, and the image before using the YAML.

When not to use it

Unsupported flags are rejected. The generated Compose file is not executed or validated against a Docker engine.