Level: medium
Author: PS
Someone said there would be cake.
hackyeaster/layercake:latest
For this challenge we are given a docker image name that we can pull from dockerhub. As you might know, docker images consist of several layers that store the states between the commands during the build process.
If we look at the executed commands of the layers on
dockerhub
we can see that the file egg.png
is overwritten multiple times. The goal is now clear. We have to extract the layers
and check the image.
$ docker save hackyeaster/layercake -o layers.tar
$ tar -xvf layers.tar
Now all that's left to do is check the individual layers and find the image: