From f64e4e06f0d06bde27e4dc8f030a7c92d5203c1e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Dec 2016 12:34:55 +0100 Subject: Adding nwdiag export format to container list command. Signed-off-by: Daniel Baumann --- share/man/container-list.1.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'share/man') diff --git a/share/man/container-list.1.txt b/share/man/container-list.1.txt index 488b718..f19d2ef 100644 --- a/share/man/container-list.1.txt +++ b/share/man/container-list.1.txt @@ -50,11 +50,17 @@ The following container options are available, defaults to *--started --stopped* Specify custom CSV separator, defaults to ','. *-f, --format='FORMAT'*:: - Use format to list container. Currently available formats are 'cli' (default), 'csv', 'json', or 'shell'. + Use format to list container. Currently available formats are 'cli' (default), 'csv', 'json', 'nwdiag', or 'shell'. *-h, --host='HOSTNAME'*:: List only container that are enabled for automatic start on the specified hostname. Defaults to list containers of the local system only. Using 'all' shows all container regardless of any automatic start configuration. +*--nwdiag-color='COLOR'*:: + Specify custom nwdiag color for the host box, defaults to '#3465a4'. + +*--nwdiag-label='LABEL'*:: + Specify custom nwdiag label for the diagram, defaults to empty. + *-o, --other*:: List only container that are not enable for automatic start on the current system. @@ -78,6 +84,12 @@ EXAMPLES *Create a JSON export of all started and stopped containers:*:: sudo container list -f json +*Create a nwdiag export of all started and stopped containers:*:: + sudo container list -f nwdiag + +*Create a SVG image via nwdiag of all started and stopped containers:*:: + sudo container list -f nwdiag | nwdiag -T svg -o cnt-list.svg - + *Create a shell export of all started and stopped containers:*:: sudo container list -f shell -- cgit v1.2.3