diff --git a/daemon/container.go b/daemon/container.go index 2ae263289d..a4bc835390 100644 --- a/daemon/container.go +++ b/daemon/container.go @@ -672,6 +672,8 @@ func (container *Container) Mount() error { } func (container *Container) Changes() ([]archive.Change, error) { + container.Lock() + defer container.Unlock() return container.daemon.Changes(container) }