How to use it

  1. Paste a full docker run command into the box.
  2. Copy the compose.yaml that appears.
  3. Save it as compose.yaml next to your project and bring the container up with docker compose up -d.

Why move to Compose

A docker run command lives in your shell history and is easy to lose. A Compose file is a record of exactly how the container is set up: the image, the ports, the volumes and the environment. You can keep it in Git, read it back in six months, and recreate the container with one command.