= Docker Networking = `dockerd(8)` manages the network for all containers. The networking model is tightly coupled to `iptables(8)`. <> ---- == Bridge Networks and the Default Network == The default behavior for a new container is to use a '''bridge network'''. Furthermore, if a bridge network is not specified, the special '''default network''' is used. For more information on all of these, see [[Docker/BridgeNetworks|here]]. ---- == Disabling == To disable networking for a container, try: {{{ docker run \ --network=none \ hello-world }}} ---- == Host Network == To attach a container to the host's own network, try: {{{ docker run --detach --name my-haproxy \ --network=host \ haproxy:latest }}} ---- CategoryRicottone