docker run ⇄ Compose Converter
Turn a docker run command into a Compose service, or a Compose service back into a docker run command.
This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.
Avoid live production secrets; use dummy or masked data where possible. Data handling details
Result
How it works
Paste a docker run command to get the equivalent Compose service, or paste a Compose file to get the equivalent docker run command. The flag table comes from `docker run --help` on Docker 29.7, so which flags take a value is the CLI's own answer rather than a guess. Anything the conversion cannot carry across is listed rather than dropped: flags with no Compose equivalent, Compose keys with no docker run equivalent, and healthcheck flags. Everything runs in your browser. The result is a starting point to review, not a drop-in replacement — Compose adds project-scoped network and volume names, and depends_on ordering has no docker run equivalent at all.
Review the result before using it. Compose prefixes project-scoped network and volume names, and a generated command is not a substitute for reading it.