1
0
mirror of https://github.com/docker/docs.git synced 2026-11-01 22:34:29 +03:00

change file location

This commit is contained in:
Victor Vieux
2013-07-02 17:02:42 +00:00
parent 06b53e3fc7
commit 27a137ccab

View File

@@ -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 {