Docker Run to Compose

Paste one docker run command, choose optional settings, and get a ready-to-edit Compose file. Up to 10 conversions per IP per day.

Docker Run command

Additional options

Only checked options are added. Existing command settings are kept.

0 / 1,000 characters

Docker Compose conversion result

The generated Docker Compose file will appear here.
The generated Docker Compose file will appear here.

Common questions

What commands does this tool support?

It supports one docker run or docker container run command at a time, including commands split across lines with backslashes. It does not execute the command.

What do the additional options add?

They add restart: unless-stopped, DNS servers 1.1.1.1 and 8.8.8.8, or a 512m memory limit when the command does not already define an equivalent setting.

Can I fine-tune the generated file?

Yes. The result can be edited directly before copying or downloading, so you can adjust the additional options and any other Compose settings to fit your environment.

Is my command sent to an AI service?

Yes. The command is sent to the configured AI service for classification and conversion. Do not submit real passwords, tokens, or other secrets.