Unzip Docker image and contents
If you ever need to see the files inside a docker image, you can save the image locally and then unzip all the contents.
image_tag=repository:tag
docker save ${image_tag} > image.tar
tar xf image.tar
rm image.tar
for f in */; do
if [ -d "${f}" ]; then
cd "${f}" ||
# unzip each of the layers
find ./ -type f -name "*.tar" -exec tar xf "{}" \;
cd ../
fi
done