Chapter 13: Docker Security Fundamentals and Best Practices
As we wish to ensure that our containers are hardened for both development and production environments, there are many techniques and best practices we can implement to achieve this task. In many cases, it is simply a case of modifying existing commands or behaviors you've learned throughout this book to add an extra layer of security to your practices.
Within this chapter, we will be building upon the foundational knowledge we have of Docker and container security. This will involve hands-on exercises in building and modifying containers. Covering subjects as varied as image security through the usage of Docker commands and signed images, upon completing the following exercises, you should feel comfortable in applying these skills in a real-world development and DevOps environment.
In this chapter, we're going to cover the following main topics:
- Docker image security: Here, we will learn about image...