Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/source/markdown/podman-systemd.unit.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,8 @@ Exposes a port, or a range of ports (e.g. `50-59`), from the container to the ho
to the Podman `--publish` option. The format is similar to the Podman options, which is of
the form `ip:hostPort:containerPort`, `ip::containerPort`, `hostPort:containerPort` or
`containerPort`, where the number of host and container ports must be the same (in the case
of a range).
of a range). The protocol can be provided at the end, e.g., `hostPort:containerPort/tcp`.
Valid protocols are `tcp` and `udp`; the `sctp` protocol is supported only for rootful containers.

If the IP is set to 0.0.0.0 or not set at all, the port is bound on all IPv4 addresses on
the host; use [::] for IPv6.
Expand Down Expand Up @@ -1193,7 +1194,8 @@ Exposes a port, or a range of ports (e.g. `50-59`), from the pod to the host. Eq
to the Podman `--publish` option. The format is similar to the Podman options, which is of
the form `ip:hostPort:containerPort`, `ip::containerPort`, `hostPort:containerPort` or
`containerPort`, where the number of host and container ports must be the same (in the case
of a range).
of a range). The protocol can be provided at the end, e.g., `hostPort:containerPort/tcp`.
Valid protocols are `tcp` and `udp`; the `sctp` protocol is supported only for rootful containers.

If the IP is set to 0.0.0.0 or not set at all, the port is bound on all IPv4 addresses on
the host; use [::] for IPv6.
Expand Down Expand Up @@ -1380,7 +1382,8 @@ Exposes a port, or a range of ports (e.g. `50-59`), from the container to the ho
to the `podman kube play`'s `--publish` option. The format is similar to the Podman options, which is of
the form `ip:hostPort:containerPort`, `ip::containerPort`, `hostPort:containerPort` or
`containerPort`, where the number of host and container ports must be the same (in the case
of a range).
of a range). The protocol can be provided at the end, e.g., `hostPort:containerPort/tcp`.
Valid protocols are `tcp` and `udp`; the `sctp` protocol is supported only for rootful containers.

If the IP is set to 0.0.0.0 or not set at all, the port is bound on all IPv4 addresses on
the host; use [::] for IPv6.
Expand Down