docker networking
docker offers the possibility to use an internal network for communication between services.
Creating a virtual network in docker
In our demonstrations we will use a ‘Devprime’ virtual network unifying the communication between all the containers used. Use the create.
- Creating a Devprime virtual network
docker network create Devprime
- Listing Existing Networks
docker network list
- Deleting a virtual network
docker network rm Devprime