Skip to content

Commit 8e2d25e

Browse files
Merge pull request #11641 from TomSweeneyRedHat/dev/tsweeney/myalias
[CI:DOCS] Add network alias note in man pages
2 parents 7981679 + 738f2b3 commit 8e2d25e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

docs/source/markdown/podman-create.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Valid _mode_ values are:
682682

683683
#### **--network-alias**=*alias*
684684

685-
Add network-scoped alias for the container
685+
Add network-scoped alias for the container. NOTE: A container will only have access to aliases on the first network that it joins. This is a limitation that will be removed in a later release.
686686

687687
#### **--no-healthcheck**
688688

docs/source/markdown/podman-network-connect.1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Once connected, the container can communicate with other containers in the same
1414
#### **--alias**
1515
Add network-scoped alias for the container. If the network is using the `dnsname` CNI plugin, these aliases
1616
can be used for name resolution on the given network. Multiple *--alias* options may be specified as input.
17+
NOTE: A container will only have access to aliases on the first network that it joins. This is a limitation
18+
that will be removed in a later release.
1719

1820
## EXAMPLE
1921

docs/source/markdown/podman-pod-create.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Set network mode for the pod. Supported values are:
157157

158158
#### **--network-alias**=strings
159159

160-
Add a DNS alias for the container. When the container is joined to a CNI network with support for the dnsname plugin, the container will be accessible through this name from other containers in the network.
160+
Add a DNS alias for the pod. When the pod is joined to a CNI network with support for the dnsname plugin, the containers inside the pod will be accessible through this name from other containers in the network.
161161

162162
#### **--no-hosts**
163163

docs/source/markdown/podman-run.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ Valid _mode_ values are:
702702

703703
#### **--network-alias**=*alias*
704704

705-
Add network-scoped alias for the container
705+
Add network-scoped alias for the container. NOTE: A container will only have access to aliases on the first network that it joins. This is a limitation that will be removed in a later release.
706706

707707
#### **--no-healthcheck**
708708

0 commit comments

Comments
 (0)