Chapter 5. Network exposure

This chapter covers

  • Network container archetypes
  • How Docker works with the computer’s network
  • How Docker builds network containers
  • Ways to customize a container network
  • Making containers available to the network
  • Discovering other containers

In the previous chapter you read about how to use volumes and work with files in a container. This chapter deals with another common form of input and output: network access.

If you want to run a website, database, email server, or any software that depends on networking, like a web browser inside a Docker container, then you need to understand how to connect that container to the network. After reading this chapter you’ll be able to create containers with network exposure ...

Get Docker in Action 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.