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
https://hub.docker.com
You can check how an image was created using docker history --no-trunc
docker history --no-trunc
Update:
Check dive which is a very nice tool that allows you to views image layers.