Docker network

A virtual network Docker creates so containers can talk to each other and, if allowed, to the outside world.

In more detail

On a user-defined network, containers can reach each other by container name through Docker's built-in DNS. Containers on different networks cannot reach each other unless connected to a shared one.

Examples

docker network create appnet
docker network create m01l01-net

Related terms

Taught in

References