I\'m just starting out with Docker, and it would be very helpful to be able to see the Dockerfiles used to create existing docker images.
Even if the image was buil
There's a project dockerfile-from-image which could help you to do it directly.
It requires a single CLI command to recover the Dockerfile:
docker run -v /var/run/docker.sock:/var/run/docker.sock centurylink/dockerfile-from-image
One has to have Docker already installed.