Merge pull request #484 from vmarmol/aufs
Fix detection of AUFS layers.
This commit is contained in:
commit
e699ec7845
@ -111,7 +111,7 @@ func newDockerContainerHandler(
|
|||||||
usesAufsDriver: usesAufsDriver,
|
usesAufsDriver: usesAufsDriver,
|
||||||
fsInfo: fsInfo,
|
fsInfo: fsInfo,
|
||||||
}
|
}
|
||||||
handler.storageDirs = append(handler.storageDirs, path.Join(dockerRootDir, pathToAufsDir, path.Base(name)))
|
handler.storageDirs = append(handler.storageDirs, path.Join(dockerRootDir, pathToAufsDir, id))
|
||||||
|
|
||||||
// We assume that if Inspect fails then the container is not known to docker.
|
// We assume that if Inspect fails then the container is not known to docker.
|
||||||
ctnr, err := client.InspectContainer(id)
|
ctnr, err := client.InspectContainer(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user