Commit Graph

39 Commits

Author SHA1 Message Date
Rob Murray
6db7163d41 network: Explain bridge option host_binding_ipv4
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-06-25 16:49:21 +02:00
Rob Murray
cbbb68a4eb network: Update the description of iptables rules
- describe Docker's custom chains
- describe the new direct routing options
- use documentation address ranges in examples

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-06-25 16:49:16 +02:00
Rob Murray
abef550be1 network: "--ip6tables" is now the default
Also, daemon.json "ipv6":true only enables IPv6 for the default bridge,
it's not required for a user-defined bridge.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-06-25 16:49:13 +02:00
David Karlsson
b3620f8204 chore: remove duplicate content paths
Duplicate aliases means multiple pages will attempt to redirect the same
URL

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-06-07 09:19:53 +02:00
David Karlsson
c6b91c8db1 chore: removed unused media files
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-05-20 18:59:32 +02:00
Rob Murray
c3af3de173 A '--dns' server will not be replaced by default DNS
Google's DNS servers are currently used by containers on the default
bridge network, when none of the host's /etc/resolv.conf nameservers
are usable (host loopback addresses that the container can't see).

But, if a server is supplied via the --dns option, it'll just appear
in the container's resolv.conf (on the default bridge) or as an
upstream server for the internal resolver.

So, fix the networking-intro page's description, noting that requests
to --dns servers happen in the container's namespace.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-05-16 12:25:49 +01:00
Rob Murray
9dacd32d30 Internal DNS uses IPv6 upstream servers
Since 26.0.0, IPv6 nameservers in the host's /etc/resolv.conf file
have been treated the same as IPv4 nameservers - the internal DNS
server will use them as upstream servers, they won't be left in the
container's resolv.conf. (So, there's no longer any race between
the internal server and IPv6 upstream servers when using musl-libc.)

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-05-16 12:19:49 +01:00
David Karlsson
685cb30093 Merge pull request #19833 from dvdksn/com.docker.network.bridge.inhibit_ipv4
network: com.docker.network.bridge.inhibit_ipv4
2024-04-24 22:32:56 +02:00
David Karlsson
2108ad4774 network: com.docker.network.bridge.inhibit_ipv4
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-23 11:30:23 +02:00
David Karlsson
872729c7ad Merge pull request #19844 from dvdksn/disambiguate-docker-firewalld-iptables
network: disambiguate which program the iptables option applies to
2024-04-22 20:53:04 +02:00
Andreas Heck
b9074dfc50 Add note regarding IPv6 and address 127.0.0.1 for host networking (#19845)
* Add note regarding IPv6 and address 127.0.0.1 for host networking

* Update content/network/drivers/host.md

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2024-04-22 14:35:24 +01:00
David Karlsson
913e75e7d1 network: disambiguate which program the iptables option applies to
Closes #19148

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-22 14:31:41 +02:00
David Karlsson
b75fe78d4f lint: enable markdownlint MD022 / blanks-around-headings
Headings should be surrounded by blank lines

Rationale: Aside from aesthetic reasons, some parsers, including kramdown, will not parse headings that don't have a blank line before, and will parse them as regular text.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-17 09:36:28 +02:00
Andreas Heck
0fde22482a Update docs for host networking (#19783)
* Update docs for host networking

* Update content/desktop/networking.md

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2024-04-11 10:27:31 +01:00
Andreas Heck
f9fd521e79 Add info that host networking has to be enabled (#19781)
* Add info that host networking has to be enabled

* Update content/network/drivers/host.md

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>

* Update content/network/drivers/host.md

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2024-04-11 09:28:40 +01:00
Andreas Heck
64f176ba56 Add info about host network support in DD 4.29 (#19654)
* Add info about host network support in DD 4.29

* Review suggestions

* Apply suggestions from code review

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>

* Apply review suggestions

* Remove text saying that host networking is a paid feature

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
2024-04-08 16:24:03 +01:00
David Karlsson
4028c5079d network: multiple nets with --network
Corrects a false statement that you can't connect to multiple networks
with the `--network` flag.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-03-05 14:14:32 +01:00
Adeleke Akinade
98b3164e57 Fix typos in two Network related pages (#19532)
* Fix typo in the Network page.

* Fix typos in the Bridge Network Driver page.

---------

Co-authored-by: Adeleke Akinade <adeleke.akinade@aat.org.uk>
2024-02-29 10:41:07 +00:00
David Karlsson
225eb08073 network: remove bridge tutorial from overlay page
This tutorial was duplicated from the bridge page and didn't cover the
overlay driver, probably a copy/paste issue.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-21 12:17:35 +01:00
David Karlsson
35b77e4cac network: deduplicate swarm info for overlay driver
The overlay driver contained a lot of duplicate information and
references to Swarm services.

Closes #18958

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-21 12:17:35 +01:00
David Karlsson
f3b44a4476 cli: change reference docs url paths
Moves the reference documentation to a new subpath, from /engine/ to /reference/
2024-02-21 10:25:53 +01:00
Stephanie Aurelio
6a05b4da98 Mini freshness update (#19162)
* tier 1 updates

* update overview and refresh quickstart steps

* update description and refresh for accuracy

* fix capitalization

* optimize image and replace low res image with console example
2024-01-22 08:11:34 -08:00
David Karlsson
04de43a394 cli: remove alias stubs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-19 16:13:36 +01:00
Allie Sadler
5ddf631cd4 Engdocs 1938 tier1 (#19068)
* ENGDOCS-1938-tier1

* .

* .
2024-01-11 08:19:40 +00:00
David Karlsson
5557874c8d network: add container networking intro from docker run reference
This change adds more introductory information about container
networking to the networking overview page, moving it from the docker
run reference page.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-12-12 10:49:23 +01:00
WestFarmer
c89f83e971 Update proxy.md
fix misleading information about proxy config
2023-11-17 09:50:34 +08:00
Allie Sadler
c7df570f30 resize images (#18588) 2023-11-06 09:27:43 +00:00
Allie Sadler
f8ee348b98 refresh diagrams (#18567)
* refresh diagrams

* fix build

* tweaks to images

* remove old images

* review fixes
2023-11-03 10:23:34 +00:00
David Karlsson
c5e0b995c5 chore: add missing language tags for code blocks
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-01 10:52:00 +01:00
David Karlsson
33c36bc889 Merge pull request #17389 from polarathene/docs/firewalld-remove-migration-notes
docs: Remove firewalld zone instructions
2023-10-30 09:59:18 +01:00
Stephanie Aurelio
93d373e676 freshness updates (#18533) 2023-10-26 12:58:08 -07:00
David Karlsson
78025e73e4 Merge pull request #18403 from BrettC5159/patch-1
Update _index.md
2023-10-24 15:41:15 +02:00
minhtaile2712
1e377e0696 Simplify sentences (#18432)
Some sentences are lengthy and repeat. This fixes them.
2023-10-19 11:24:41 +01:00
BrettC5159
fe2fd57aec Update _index.md
Make the port mapping table easier to read.
2023-10-11 15:09:33 -04:00
David Karlsson
54e13c08d9 build: refresh building best practices
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-10-11 09:18:18 +02:00
David Karlsson
1d9e2c748c engine: macvlan is not supported in rootless mode
https://github.com/moby/moby/issues/45779#issuecomment-1599644464

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-05 16:04:00 +02:00
polarathene
a452d69c08 docs: Remove firewalld zone instructions
These were related to migrating to the `docker` zone support in new moby releases since integration landed in 2020H2.
2023-08-31 14:55:28 +12:00
David Karlsson
15e9e1e694 hugo: run migration script
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:42:25 +02:00
David Karlsson
a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00