Docker: Reverse Engineering of an Image

daniele3004 picture daniele3004 · Jan 12, 2018 · Viewed 13.2k times · Source

When we use Docker it's very easy push and pull image in a public repository in our https://hub.docker.com but this repository it's free only for public image(only one can be private).

Currently it's possible to execute a reverse engineering of a public image in repository and read the source code of project ?

Answer

yamenk picture yamenk · Jan 12, 2018

You can check how an image was created using docker history <image-name> --no-trunc

Update:

Check dive which is a very nice tool that allows you to views image layers.