Learning How Containers Communicate
In this lesson, we will see how communication happens between containers.
We'll cover the following...
How can containers talk to each other?
If two containers are isolated, independent processes, how are they able to talk to one another?
While it is 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.
Networks list
The docker-compose up
creates a new network for the app. By default, all containers for our app are connected to the ...