Docker Run to Compose

Convert a simple docker run command into Compose YAML locally.

This tool runs in your browser.
Paste a simple docker run command.

How to use

  1. 01Paste a simple docker run command.
  2. 02Convert it to Compose YAML.

FAQ

Are all Docker flags supported?

No. Unsupported flags should be added manually.

Docker Run to Compose: Can I use the result in production?

Treat generated, converted, or inspected output as a development aid. Validate security-sensitive values, commands, and configuration in the target environment before production use.

Does Docker Run to Compose upload my input?

TrueFree Tools processes the input in your browser and does not store it on our servers. Features that need browser permissions or access to a user-supplied address still follow the notice shown in the tool.