Sharing names

Commands

docker container run -d --network mynet --network-alias webserver nginx:latest
docker container run -d --network mynet --network-alias webserver nginx:latest
docker container run -d --network mynet --network-alias webserver nginx:latest
docker container run --network mynet -it alpine:latest
nslookup webserver

User defined networks and links

Introduction