docker run to Compose

Convert port, env, volume, and name into a service.

Processed in this browser. Nothing is sent to a server.

Result

How do I use docker run to Compose?

Paste the docker run command.

What are the limits of docker run to Compose?

Flags outside that set are ignored, except the final image.

Related tools