Pod creation: cannot expose 2 different host ports pointing to the same pod port #7062
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm trying to create a pod that exposes 2 different host ports but that wants the to point to the same pod port.
Steps to reproduce the issue:
podman pod create --name=test --share net -p 8080:8080 -p 8081:8080
Describe the results you received:
Describe the results you expected:
Podman to allow the operation.
This use case is actually something coming from a
docker-compose
configuration that failed when I run it viapodman-compose
and the reported command is the one that was produced bypodman-compose
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: