From bf5cd6882601146713af9999647969a01cc04671 Mon Sep 17 00:00:00 2001 From: Konstantin Gribov Date: Wed, 25 Feb 2015 20:40:25 +0300 Subject: [PATCH 1/3] Added build instructions --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3571a98..0245360 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,11 @@ Someday soon the Docker command line will allow dumping the image and container # Download For now, download binaries from Gobuild: + +# Build + +```bash +go get github.com/jessevdk/go-flags +go build +``` + From 4e70aa4ab27dd4f51bf9198004026d516eaaeb53 Mon Sep 17 00:00:00 2001 From: Konstantin Gribov Date: Wed, 25 Feb 2015 20:41:07 +0300 Subject: [PATCH 2/3] Removed `Download` section --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 0245360..42a923a 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,6 @@ $ echo -e "GET /containers/json?all=1 HTTP/1.0\r\n" | nc -U /var/run/docker.sock Someday soon the Docker command line will allow dumping the image and container JSON directly. -# Download - -For now, download binaries from Gobuild: - # Build ```bash From 8e94cb624b601c250a246fca7c9e7b9548a325f0 Mon Sep 17 00:00:00 2001 From: Konstantin Gribov Date: Wed, 25 Feb 2015 20:46:19 +0300 Subject: [PATCH 3/3] Added note about GNU netcat --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 42a923a..e49cf11 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,8 @@ $ echo -e "GET /images/json?all=1 HTTP/1.0\r\n" | nc -U /var/run/docker.sock | t $ echo -e "GET /containers/json?all=1 HTTP/1.0\r\n" | nc -U /var/run/docker.sock | tail -n +5 | dockviz containers --dot | dot -Tpng -o containers.png ``` +GNU netcat doesn't support `-U` (UNIX socket) flag, so OpenBSD variant can be used. + ## Direct from Docker Someday soon the Docker command line will allow dumping the image and container JSON directly.