Files
podman/pkg
Miguel Álvarez 5e63372ffa kube play: validate duplicate hostPort bindings across containers
When multiple containers in a pod YAML specify the same hostPort,
podman kube play previously accepted the YAML and started the
containers, causing one of them to fail at runtime with a confusing
bind() error.

Add early validation in getPodPorts() to detect duplicate
(hostIP, hostPort, protocol) tuples across containers and return
a clear error message naming both conflicting containers.

Fixes: https://github.com/podman-container-tools/podman/issues/26622

Signed-off-by: Miguel Álvarez <mialvare@redhat.com>
2026-06-18 13:30:11 +02:00
..
2026-03-09 11:09:23 +01:00
2022-12-15 13:39:56 +01:00
2026-06-09 11:51:46 -07:00
2026-06-09 11:51:46 -07:00
2025-09-10 16:17:04 +02:00
2026-04-22 14:02:25 -05:00
2025-09-10 16:17:04 +02:00
2026-04-22 14:02:25 -05:00
2025-09-10 16:17:04 +02:00
2026-05-22 12:25:21 -07:00
2025-11-11 12:32:46 +01:00