User Tools

Site Tools


docker_networking

Summary:

Mode Explanation
None No Networking in container
Bridge Connection the container to the bridge via veth interfaces
Host Use the host networking stack inside the container
Container Use networking stack of another container


Flag Explanation
- -dns=[] Set custom DNS
- -net=“bridge” Set the network mode for a container
- -net=“host” use the host networking stack inside container
- -add-host=““ Add a line to /etc/hosts


Mode: Bridged


Mode: Host


Mode: Container

docker_networking.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki