The following list of references gives you some material that dives more deeply into the topic of authoring and building container images:
- Best practices for writing Dockerfiles, at http://dockr.ly/22WiJiO
- Using multi-stage builds, at http://dockr.ly/2ewcUY3
- About storage drivers, at http://dockr.ly/1TuWndC
- Graphdriver plugins, at http://dockr.ly/2eIVCab
- User-guided caching in Docker for Mac, at http://dockr.ly/2xKafPf