From e56be71ba37357857f5dd676763c43fc03a374b3 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Wed, 8 Jun 2016 13:51:59 +0100 Subject: [PATCH] diagnostics: Add daemon.json to the diagnistics tarball With #186 we are now using /etc/docker/daemon.json again. Add it to the tarball. Signed-off-by: Rolf Neugebauer --- alpine/packages/diagnostics/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/alpine/packages/diagnostics/main.go b/alpine/packages/diagnostics/main.go index 20b19f49d..6f8d4b695 100644 --- a/alpine/packages/diagnostics/main.go +++ b/alpine/packages/diagnostics/main.go @@ -102,6 +102,7 @@ func capture(w *tar.Writer) { run(t, w, "/bin/ls", "-l", "/var/lib/docker") run(t, w, "/usr/bin/diagnostics") run(t, w, "/bin/ping", "-w", "5", "8.8.8.8") + run(t, w, "/bin/cat", "/etc/docker/daemon.json") run(t, w, "/bin/cat", "/etc/network/interfaces") run(t, w, "/bin/cat", "/etc/resolv.conf") run(t, w, "/bin/cat", "/etc/sysctl.conf")