CmdID / docker / docker compose / docker compose alpha
docker compose alpha viz
EXPERIMENTAL - Generate a graphviz graph from your compose file Docker Compose reference
6 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--imageInclude service's image name in output graph--indentation-sizeNumber of tabs or spaces to use for indentation--networksInclude service's attached networks in output graph--portsInclude service's exposed ports in output graph--spacesIf given, space character ' ' will be used to indent, otherwise tab character '\t' will be used