Chapter 10. Maintaining Docker Containers

In this chapter, we will cover the following recipes:

  • Testing Docker containers with BATS
  • Test-Driven Development (TDD) with Docker and ServerSpec
  • The workflow for creating automated Docker builds from Git
  • The workflow for connecting the Continuous Integration (CI) system
  • Scanning for vulnerabilities with Quay.io and Docker Cloud
  • Sending Docker logs to AWS CloudWatch Logs
  • Monitoring and getting information out of Docker
  • Debugging containers using sysdig

Introduction

In this chapter, we'll explore some advanced and highly interesting areas that probably most developers today are already used to. Infrastructure code is still code, so it should be no different than software code; the same principle should apply. This ...

Get Infrastructure as Code (IAC) Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.