Convert a docker run command into a docker-compose.yml service with mapped ports, volumes and env.
Paste your docker run line and the tool maps -p to ports, -v to volumes, -e to environment, along with the container name, restart policy, image and command, into an equivalent compose service — emitting YAML you can paste into docker-compose.yml. Unrecognised flags are listed so nothing is silently dropped, and you should review the result before shipping it.
Common questions and helpful answers about this utility.