In the last chapter, we learned how to build and share our own container images. Particular focus was put on how to build images that are as small as possible by only containing artifacts that are really needed by the containerized application.
In this chapter, we are going to learn how we can work with stateful containers, that is containers that consume and produce data. We will also learn how to keep our Docker environment clean and free from unused resources. Last but not least, we will be looking into the stream of events that a Docker engine is producing.
Here is a list of the topics we're going to discuss:
- Creating and mounting data volumes
- Sharing data between containers
- Using host volumes
- Defining volumes in images
- Obtaining exhaustive Docker system information
- Listing resource consumption
- Pruning unused resources
- Consuming Docker...