Basic example on how to link docker containers - LinuxConfig.org

One of the many desirable features built directly into Docker is networking. Docker's networking feature can be accessed by using a --link flag which allows to connect any number of Docker containers without the need to expose a container's internal ports to the outside world.

In this guide, you will learn how to network two or more Docker containers together on a Linux system through command line instructions.


This is a companion discussion topic for the original entry at https://linuxconfig.org/basic-example-on-how-to-link-docker-containers