Where is the docker image file

  docker, question

Where is the corresponding image file after docker pull, ubuntu I used, and can I see the Dockerfile file in the image? I am now imitating writing Dockerfile.

Download the image file at/var/lib/docker/aufsChina.
DockerfileIt is only used to generate a mirror image and will not be included in the mirror image.DockerfileThis is just like the relationship between source code and program.
InDocker Hub(https://hub.docker.com) to find the image you want, there will be generated this imageDockerfileAnd related documents are available atGithubThe address on the website can be found there.