diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-12-15 18:28:40 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-01-03 14:26:34 +0100 |
commit | c496001d03f9eac87dfd6f3e3d655c40267b3837 (patch) | |
tree | 0859a51d3b1873d049dd0b0797ee719cd5ae62d8 /docs/source/markdown/podman-pod-create.1.md | |
parent | 172d4eb40031a11d50c8198a569604f4bc915550 (diff) | |
download | podman-c496001d03f9eac87dfd6f3e3d655c40267b3837.tar.gz podman-c496001d03f9eac87dfd6f3e3d655c40267b3837.tar.bz2 podman-c496001d03f9eac87dfd6f3e3d655c40267b3837.zip |
add --ip6 flag to podman create/run
Add the --ipv6 flag to podman create/run and pod create. We support the
--network name:ip6=<ip> syntax now but for docker compat we should also
support the --ip6 flag.
Note that there is no validation if the ip is actually a v6 or v4 address
because the backend does not care either.
Fixes #7511
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-pod-create.1.md')
-rw-r--r-- | docs/source/markdown/podman-pod-create.1.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-pod-create.1.md b/docs/source/markdown/podman-pod-create.1.md index b1b029429..56c3e7d34 100644 --- a/docs/source/markdown/podman-pod-create.1.md +++ b/docs/source/markdown/podman-pod-create.1.md @@ -127,6 +127,15 @@ The address must be within the network's IP address pool (default **10.88.0.0/16 To specify multiple static IP addresses per pod, set multiple networks using the **--network** option with a static IP address specified for each using the `ip` mode for that option. +#### **--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. + #### **--label**=*label*, **-l** Add metadata to a pod (e.g., --label com.example.key=value). |