From 2df85b67860654d63dd84baa31d9b0b4f9e5b67f Mon Sep 17 00:00:00 2001 From: fabianlee Date: Tue, 23 May 2017 23:19:14 +0000 Subject: [PATCH] document switch for only running containers and package name of graphviz on debian --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2e8cca..ea2f899 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ different ways, to help you understand what's going on inside the system. ``` 2. Visualize images by running `dockviz images -t`, which has similar output to `docker images -t`. -Image can be visualized as [Graphviz](http://www.graphviz.org), or as a tree or short summary in the terminal. Only Graphviz output has been implemented for containers. +Image can be visualized as [Graphviz](http://www.graphviz.org), or as a tree or short summary in the terminal. Only Graphviz output has been implemented for containers (Debian: apt-get install graphviz). # Output Examples @@ -26,6 +26,9 @@ Currently, containers are visualized with labelled lines for links. Containers ``` $ dockviz containers -d | dot -Tpng -o containers.png + +# only show running containers +$ dockviz containers -d -r | dot -Tpng -o containers.png ``` ![](sample/containers.png "Container")