Since Docker v1.10, with the introduction of the content addressable storage, Docker has completely changed the way image data are handled on the disk. I understand that now lay
If this is a vfs this can be done with this one-liner:
ls -l /var/lib/docker/vfs/dir/$(cat $(grep $LAYER /var/lib/docker/image/vfs/layerdb/sha256/ -rl | sed s/diff/cache-id/g ))
where $LAYER is the sha256 that you get out of docker inspect IMAGE_ID
$LAYER
docker inspect IMAGE_ID