docs: enhance html output (#16076)

* docs: remove some leading space

* style: fix whitespace inconsistency

- double spaces in docker commands
- inconsistent indentation in multiline commands and paragraphs
- trailing spaces
This commit is contained in:
Jan Wystub 2022-11-04 19:13:33 +01:00 committed by GitHub
parent 2dbc818eaa
commit 28b19178aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 53 additions and 53 deletions

View File

@ -330,7 +330,7 @@ $$ ip a show eth0
gateway points to the containers `eth0` device. See below for CLI output gateway points to the containers `eth0` device. See below for CLI output
of `ip route` or `ip -6 route` from inside an L3 container for details. of `ip route` or `ip -6 route` from inside an L3 container for details.
The mode ` -o ipvlan_mode=l3` must be explicitly specified since the default The mode `-o ipvlan_mode=l3` must be explicitly specified since the default
IPvlan mode is `l2`. IPvlan mode is `l2`.
The following example does not specify a parent interface. The network drivers The following example does not specify a parent interface. The network drivers
@ -377,13 +377,13 @@ host eth interface.
## Dual stack IPv4 IPv6 IPvlan L2 mode ## Dual stack IPv4 IPv6 IPvlan L2 mode
- Not only does Libnetwork give you complete control over IPv4 addressing, but - Not only does Libnetwork give you complete control over IPv4 addressing, but
it also gives you total control over IPv6 addressing as well as feature parity it also gives you total control over IPv6 addressing as well as feature parity
between the two address families. between the two address families.
- The next example will start with IPv6 only. Start two containers on the same - The next example will start with IPv6 only. Start two containers on the same
VLAN `139` and ping one another. Since the IPv4 subnet is not specified, the VLAN `139` and ping one another. Since the IPv4 subnet is not specified, the
default IPAM will provision a default IPv4 subnet. That subnet is isolated default IPAM will provision a default IPv4 subnet. That subnet is isolated
unless the upstream network is explicitly routing it on VLAN `139`. unless the upstream network is explicitly routing it on VLAN `139`.
```console ```console
# Create a v6 network # Create a v6 network