diff --git a/container.go b/container.go index f8459ecdc3..a2e0c7049c 100644 --- a/container.go +++ b/container.go @@ -997,7 +997,7 @@ func (container *Container) ReadLog(name string) (io.Reader, error) { } func (container *Container) hostConfigPath() string { - return path.Join("/tmp", container.ID+".config.host") + return path.Join(container.root, "hostconfig.json") } func (container *Container) jsonPath() string {