Skip to content

docs: explain how to set bridge network driver options#7117

Open
lsh1215 wants to merge 1 commit into
docker:masterfrom
lsh1215:docs/13861-network-ip-masq
Open

docs: explain how to set bridge network driver options#7117
lsh1215 wants to merge 1 commit into
docker:masterfrom
lsh1215:docs/13861-network-ip-masq

Conversation

@lsh1215

@lsh1215 lsh1215 commented Jul 22, 2026

Copy link
Copy Markdown

Supersedes #7075.

What changed

Addresses @dvdksn's review feedback on #7075 for the Bridge driver options section of docker network create:

  • Reworded the section intro to explain that driver options are set with the --opt flag (kept the existing note about the equivalent docker0/daemon flags, since the table's second column relies on that context).
  • Removed the redundant enable_ip_masquerade paragraph, so the example now sits directly below the table as a general illustration of how to set a bridge driver option.

Why

Follow-up to docker/docs#13861 and the review discussion on #7075. The existing table already lists com.docker.network.bridge.enable_ip_masquerade, but the section didn't show how driver options are actually passed on the command line.

Validation

  • make mddocs / make yamldocs — regenerated cleanly, no changes outside the reworked prose
  • git diff --check

This is a documentation-only change; it does not change Docker CLI or daemon behavior.

Reword the "Bridge driver options" section to note that driver options are configured with the --opt flag, and reframe the IP masquerade snippet as a generic example of setting a bridge driver option.

Signed-off-by: sanghun <vitash1215@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant