Skip to main content

3 docs tagged with "networking"

View all tags

Docker Compose Extra Hosts

How to use extra_hosts in Docker Compose to add entries to /etc/hosts inside containers. Essential for DNS mocking and accessing host services.

Docker Host Networking Explained

Understand Docker's host networking mode, when to use --network host, and how to access local services using host.docker.internal on Linux, Mac, and Windows.

Docker Networking Basics

Practical docker network tutorial: how to connect Docker containers, use bridge networks, and compose networks for local and production stacks.