February 2019
Intermediate to advanced
240 pages
5h 25m
English
If two containers are isolated, independent processes, how come, as we just saw, that they are able to talk to one another? While it’s true that the code and processes running in a container are sandboxed, that does not mean the container has no way to communicate with the outside world. If containers could not communicate, we would not be able to connect them together to create a powerful, connected system of services that together make up our application.
If you remember back to Launching Our App, we said that docker-compose up creates a new network for the app. By default, all containers for our app are connected to the app’s network and can communicate with each other. This means that our containers, ...
Read now
Unlock full access