Skip to content

Commit

Permalink
Merge pull request containers#15795 from edsantiago/docs_dedup_ip6
Browse files Browse the repository at this point in the history
[CI:DOCS] Man pages: refactor common options: --ip6
  • Loading branch information
openshift-merge-robot authored Sep 14, 2022
2 parents 83c148c + 4df4608 commit e1b3d98
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 25 deletions.
8 changes: 8 additions & 0 deletions docs/source/markdown/options/ip6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#### **--ip6**=*ipv6*

Specify a static IPv6 address for the <<container|pod>>, for example **fd46:db93:aa76:ac37::10**.
This option can only be used if the <<container|pod>> is joined to only a single network - i.e., **--network=network-name** is used at most once -
and if the <<container|pod>> is not joining another container's network namespace via **--network=container:_id_**.
The address must be within the network's IPv6 address pool.

To specify multiple static IPv6 addresses per <<container|pod>>, set multiple networks using the **--network** option with a static IPv6 address specified for each using the `ip6` mode for that option.
10 changes: 1 addition & 9 deletions docs/source/markdown/podman-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,7 @@ Keep STDIN open even if not attached. The default is *false*.

@@option ip

#### **--ip6**=*ipv6*

Specify a static IPv6 address for the container, for example **fd46:db93:aa76:ac37::10**.
This option can only be used if the container is joined to only a single network - i.e., **--network=network-name** is used at most once -
and if the container is not joining another container's network namespace via **--network=container:_id_**.
The address must be within the network's IPv6 address pool.

To specify multiple static IPv6 addresses per container, set multiple networks using the **--network** option with a static IPv6 address specified for each using the `ip6` mode for that option.

@@option ip6

@@option ipc

Expand Down
9 changes: 1 addition & 8 deletions docs/source/markdown/podman-pod-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,7 @@ The custom image that will be used for the infra container. Unless specified, P

@@option ip

#### **--ip6**=*ipv6*

Specify a static IPv6 address for the pod, for example **fd46:db93:aa76:ac37::10**.
This option can only be used if the pod is joined to only a single network - i.e., **--network=network-name** is used at most once -
and if the pod is not joining another container's network namespace via **--network=container:_id_**.
The address must be within the network's IPv6 address pool.

To specify multiple static IPv6 addresses per pod, set multiple networks using the **--network** option with a static IPv6 address specified for each using the `ip6` mode for that option.
@@option ip6

@@option label

Expand Down
9 changes: 1 addition & 8 deletions docs/source/markdown/podman-run.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,7 @@ When set to **true**, keep stdin open even if not attached. The default is **fal

@@option ip

#### **--ip6**=*ipv6*

Specify a static IPv6 address for the container, for example **fd46:db93:aa76:ac37::10**.
This option can only be used if the container is joined to only a single network - i.e., **--network=network-name** is used at most once -
and if the container is not joining another container's network namespace via **--network=container:_id_**.
The address must be within the network's IPv6 address pool.

To specify multiple static IPv6 addresses per container, set multiple networks using the **--network** option with a static IPv6 address specified for each using the `ip6` mode for that option.
@@option ip6

@@option ipc

Expand Down

0 comments on commit e1b3d98

Please sign in to comment.