mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add volumes back to inspect
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
b292928cd5
commit
996133b9ba
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue