Skip to content

engine/networking overhaul #17176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
888b052
engine: create a section for network drivers
Apr 24, 2023
ab9ac9a
engine: editorial, add macvlan driver opts
Apr 24, 2023
cab907f
engine: add ipvlan driver opts
Apr 24, 2023
600559b
chore(format): fix indentation and linebreaks
Apr 24, 2023
3ceb7a2
engine: add bridge driver opts
Apr 24, 2023
f72d889
engine: add note about port mapping security
Apr 26, 2023
625a56e
engine: update description about default bind address for port mapping
Apr 27, 2023
44424f2
engine: describe DNAT limitation of DOCKER-USER iptables chain
May 3, 2023
0125f46
engine: add note on name resolution with multiple nameservers
May 3, 2023
8efdcad
chore: add ufw to vocabulary list
May 4, 2023
8c3573f
engine: describe iptables conflict with ufw
May 4, 2023
8da912e
engine: external ipv6 dns server race condition
May 12, 2023
274d5cf
engine: fix instruction for turning on ipv6
May 12, 2023
c2bb28f
fix: editorial improvements
May 15, 2023
e67b18a
engine: fix examples for the none nw driver
May 24, 2023
d50e031
engine: moved iptables/fw page to networking
May 24, 2023
c0b23bf
engine: note limit on no. of containers per bridge
May 25, 2023
81f3f03
engine: remove dated section on ip forwarding
May 25, 2023
98b76d8
engine: change reload to restart when updating daemon config
May 31, 2023
e3ad70f
engine: az sort redirects
May 31, 2023
1a6be1a
engine: networking editorial improvements and corrections
May 31, 2023
75962c0
engine: improve wording on the none nw driver
Jun 1, 2023
18f88f0
engine: clarify localhost ports access on local networks
Jun 1, 2023
6f66da2
engine: improve ipv6 subnet allocation examples
Jun 1, 2023
eb3b3b7
engine: remove swarm/services mention for ipv6
Jun 5, 2023
2be681d
engine: split using ipv6 into two sections
Jun 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/vale/Vocab/Technology/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ CVEs?
DHCP
DNS
Ethernet
GPG
GRUB
Git
GPG
HTTP
IPs?
IPv[46]
Expand Down Expand Up @@ -56,6 +56,7 @@ stdout
subnet
swappable
systemd
ufw
umask
ungated
virtiofs
Expand Down
2 changes: 1 addition & 1 deletion _data/engine-cli/docker_service_create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ examples: |-
The swarm extends my-network to each node running the service.

Containers on the same network can access each other using
[service discovery](/network/overlay/#container-discovery).
[service discovery](/network/drivers/overlay/#container-discovery).

Long form syntax of `--network` allows to specify list of aliases and driver options:
`--network name=my-network,alias=web1,driver-opt=field1=value1`
Expand Down
2 changes: 1 addition & 1 deletion _data/glossary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ service: |
service account: |
A service account is a Docker ID used for automated management of container images or containerized applications. Service accounts are typically used in automated workflows, and do not share Docker IDs with the members in a Docker Team or Docker Business subscription plan.
service discovery: |
Swarm mode [container discovery](/network/overlay/#container-discovery) is a DNS component internal to the swarm that automatically assigns each service on an overlay network in the swarm a VIP and DNS entry. Containers on the network share DNS mappings for the service through gossip so any container on the network can access the service through its service name.
Swarm mode [container discovery](/network/drivers/overlay/#container-discovery) is a DNS component internal to the swarm that automatically assigns each service on an overlay network in the swarm a VIP and DNS entry. Containers on the network share DNS mappings for the service through gossip so any container on the network can access the service through its service name.

You don’t need to expose service-specific ports to make the service available to other services on the same overlay network. The swarm’s internal load balancer automatically distributes requests to the service VIP among the active tasks.
swarm: |
Expand Down
38 changes: 20 additions & 18 deletions _data/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1350,22 +1350,28 @@ manuals:
section:
- path: /network/
title: Overview
- path: /config/containers/container-networking/
title: Container networking
- sectiontitle: Network drivers
section:
- path: /network/drivers/
title: Overview
- path: /network/drivers/bridge/
title: Bridge
- path: /network/drivers/overlay/
title: Overlay
- path: /network/drivers/host/
title: Host
- path: /network/drivers/ipvlan/
title: IPvlan
- path: /network/drivers/macvlan/
title: Macvlan
- path: /network/drivers/none/
title: None (no networking)
- path: /network/proxy/
title: Configure Docker to use a proxy server
- path: /network/bridge/
title: Bridge networks
- path: /network/overlay/
title: Overlay networks
- path: /network/host/
title: Host networking
- path: /network/ipvlan/
title: IPvlan networks
- path: /network/macvlan/
title: Macvlan networks
- path: /network/none/
title: Disable networking for a container
- path: /network/packet-filtering-firewalls/
title: Packet filtering and firewalls
- path: /config/daemon/ipv6/
title: Use IPv6
- sectiontitle: Networking tutorials
section:
- path: /network/network-tutorial-standalone/
Expand Down Expand Up @@ -1548,14 +1554,10 @@ manuals:
title: Configuration overview
- path: /config/daemon/systemd/
title: Configure with systemd
- path: /config/daemon/ipv6/
title: Use IPv6
- path: /config/containers/live-restore/
title: Keep containers alive during daemon downtime
- path: /config/daemon/troubleshoot/
title: Troubleshoot
- path: /network/iptables/
title: Docker and iptables
- path: /config/daemon/remote-access/
title: Remote access
- path: /engine/context/working-with-contexts/
Expand Down
84 changes: 0 additions & 84 deletions config/containers/container-networking.md

This file was deleted.

Loading