Docker Run to Compose

Turn a docker run command into a docker-compose.yml. Ports, volumes, environment, restart policy, networks and the command are kept. Options that have no Compose equivalent are listed as notes.

docker-compose.yml