Docker: Find dockerfile of images

I’m interested in how some images are build, and would like to know where docker saves the images/Dockerfile. I’m using a Mac and the docker version is 1.9.0. On google I see a lot about boot2docker but I don’t seem to have that executable. I simply click the Docker Quickstart terminal and I can do

$> docker run dockerinaction/hello_world

I noticed that for the hello-word image I can find the dockerfile on hub.docker.com, but for onedio/base-node5 I can’t. Is it possible to find the Dockerfile for base-node5 on hub.docker.com ?

  • Cannot install plugin for IBM Container on Cloud Foundry on mac OS
  • Got only one node after install Kubernetes cluster
  • Can't reach containers with new 1.10 DNS SD
  • Accessing docker container from iOS Simulator
  • Bidirectional UDP Port for docker container
  • Fail building a Docker container early with bad list of packages for yum install
  • Making the windows docker commands to be linked to a remote linux machine docker daemon
  • Debian Host: CTRL + P + Q doesn't keep container alive
  • Docker : Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  • In Docker, can I allow IIS to output detailed errors in a container running an MVC project?
  • Attack vectors when running untrusted docker images
  • Spring Boot app with eureka server and docker
  • 2 Solutions collect form web for “Docker: Find dockerfile of images”

    Use dockerfile-from-images from centurylinkabs, that will create the Dockerfile, see https://github.com/centurylinklabs/dockerfile-from-image

    You can get a lot of that info from the Docker History command

    docker history onedio/base-node5
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.