Summary
This chapter started with installing Docker, then running our first Docker container, looking at various modes of running a container, and understanding Docker volumes and storage drivers. We also learned how to select the right storage driver and volume options and some best practices. All these skills will help you set up a production-ready Docker server with ease. We also talked about the logging agent and how you can quickly ship Docker logs to multiple destinations, such as journald,
Splunk, and JSON files, to help you monitor your containers. We looked at managing Docker containers declaratively using docker-compose
and ran a complete composite container application.
In the following chapter, we will look at Docker images, creating and managing them, and some best practices.