Containers from Scratch
Networks & service discovery
Lesson 4 of 5
On a Docker network, containers reach each other by service name via built-in DNS, and ports are published host:container.
What you'll learn
- Understand the bridge network that connects containers
- Reach another container by service name instead of an IP
- Read a host:container port mapping correctly
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: Images vs. containers