Docker Community Forums

Share and learn in the Docker community.

Correlation between ImageID and Layer/Diff IDs

We’re looking to find some correlation between the Image IDs and its constituent layer/diff IDs that show up in the /var/lib/docker/aufs/ directory.
Essentially, given a docker image (and corresponding Image ID), we’d like to map it to the exact bunch of diff directories that contain its filesystem. Is this possible?