The things we've covered so far would allow you to run single Docker containers that host a website, or a web service with only one exposed port. But that's only the simplest use of Docker's networking capabilities. There are many real-world use cases for connecting two, ten, or even a hundred containers together.
- Port - A port is a property of a machine that you can access via networking protocols, and is used to transmit data around the machine itself and to other machines. For example, websites run by default on port 80 and port 443, and SSH runs on port 22.
- Bridge Network - a single aggregate network from multiple communication networks or network segments, but in Docker land, this means we’re bridging together the Docker container with the Host OS.
- Nginx - a popular web server/reverse proxy used for deploying websites and services on Linux machines.
You need to sign up for Treehouse in order to download course files.Sign up