Summary
This chapter demonstrated how Docker allows users to work with images to package their applications together with a working environment to be moved across different working environments. You've seen how Docker uses layers and caching to improve build speed and ensure you can also work with these layers to reserve resources or disk space.
We also spent some time creating a base image with only one layer of our image. We've explored tagging and tagging practices you can adopt in order to counter issues associated with deploying and publishing your images. We also took a look at different ways we can publish our images and share them with other users and developers. We are only just getting started and still have a long way to go.
In the next chapter, we'll be working further with our Dockerfiles
to learn how multistage Dockerfiles
work. We'll also find more ways in which we can optimize our Docker images for better performance when they're released...