Turn a docker-compose.yml into a Graphviz .dot file. Currently in prototype state. For an example of the output,
check out https://github.com/abesto/abesto-net-docker.
build image via docker-compose file
docker-compose build change volume in docker-compose file (data) to where the corresponding docker-compose file you would like to draw is
docker-compose run --rm dcvizcontainer will generate out.png in the data folder
go install github.com/abesto/docker-compose-graphvizcd into a directory that has a docker-compose.yml file.
docker-compose-graphviz | dot -odocker-compose.jpg -Tjpg && open docker-compose.jpg