Chapter 10. Network simulation: Realistic environment testing without the pain
This chapter covers
- Coming to grips with Docker Compose
- Testing your applications on troublesome networks
- Taking a first look at Docker network drivers
- Creating a substrate network for seamless communications across Docker hosts
As part of your DevOps workflow, you’ll likely need to use the network in some way. Whether you’re trying to find out where the local memcache container is, connecting to the outside world, or plumbing together Docker containers running on different hosts, you’re likely to want to reach out to the wider network sooner or later.
After reading this chapter you’ll know how to manage containers as a unit using Docker Compose, and simulate and manage networks by using Docker’s virtual network tooling. This chapter is a small first step toward orchestration and service discovery—subjects we’ll take a deeper dive into in part 4 of this book.