| 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 |