From fe1f6345d0f27d5c80cae9a5467888c386943867 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Tue, 3 Jun 2014 00:05:54 +0000 Subject: [PATCH] add volumes back to inspect Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) Upstream-commit: 996133b9babbe4c4dfb42ee0d5aea9566568af14 Component: engine --- components/engine/daemon/inspect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/engine/daemon/inspect.go b/components/engine/daemon/inspect.go index cf70d1579a..4da09d5449 100644 --- a/components/engine/daemon/inspect.go +++ b/components/engine/daemon/inspect.go @@ -42,6 +42,7 @@ func (daemon *Daemon) ContainerInspect(job *engine.Job) engine.Status { out.Set("ExecDriver", container.ExecDriver) out.Set("MountLabel", container.MountLabel) out.Set("ProcessLabel", container.ProcessLabel) + out.SetJson("Volumes", container.Volumes) out.SetJson("VolumesRW", container.VolumesRW) out.SetJson("HostConfig", container.hostConfig) if _, err := out.WriteTo(job.Stdout); err != nil {