Chapter 4. Networking and Persistent Storage

In the previous chapter, we learned about images and containers and a way to modify them. For all practical purposes, the service running inside a container needs to be exposed to the outside world. The Docker tool chain provides a very powerful network interface that enables you to expose as well as control network connectivity as per your requirement. In this chapter, we will dive deep into the docker networking approach. The persistent storage will be useful for storing data, because, as you remember from the previous chapters, Docker filesystems are temporary, so to speak. If you stop the running container, all your changes will be lost: any deleted files will be back, and any changes in the existing ...

Get Developing with Docker 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.