All tools / Containers
docker run to Compose
Convert a docker run command into a Compose service using only local parsing.
Result
In the browser
Flags go before the image. Quoted arguments are kept. --rm and -d are noted and left out of the Compose keys. An unknown flag stops the conversion instead of being dropped.