Merge pull request #484 from vmarmol/aufs

Fix detection of AUFS layers.
This commit is contained in:
Vish Kannan 2015-02-03 10:12:01 -08:00
commit e699ec7845

View File

@ -111,7 +111,7 @@ func newDockerContainerHandler(
usesAufsDriver: usesAufsDriver,
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.
ctnr, err := client.InspectContainer(id)