Index ¦ Archives ¦ Atom > Category: Docker ¦ Atom

User-defined networks in Docker for inter-container communication

Problem

Let's say a program in a container wants to communicate with a service running in another docker container on the same host. The current recommended approach to do so is using a user-defined network and avoid using links.

Solution

Docker user defined network

Create an user-defined network and run both (or as many …

© Amit Saha. Built using Pelican. Theme by Giulio Fidente on github.