Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unrecognized protocol "TCP" in port mapping #6948

Closed
AkihiroSuda opened this issue Jul 13, 2020 · 1 comment · Fixed by #6949
Closed

Error: unrecognized protocol "TCP" in port mapping #6948

AkihiroSuda opened this issue Jul 13, 2020 · 1 comment · Fixed by #6949
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.

Comments

@AkihiroSuda
Copy link
Collaborator

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Unlike Docker, podman run -p does not accept "TCP" in upper characters.

Steps to reproduce the issue:

podman run -it --rm -p 8080:80/TCP nginx:alpine

Describe the results you received:

Error: unrecognized protocol "TCP" in port mapping

Describe the results you expected:

It should work as in Docker

Output of podman version:

Version:      2.1.0-dev
API Version:  1
Go Version:   go1.14.4
Git Commit:   e38001f123a04f905a37bf038b2c983ebe350996
Built:        Mon Jul 13 20:13:01 2020
OS/Arch:      linux/amd64
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 13, 2020
@AkihiroSuda
Copy link
Collaborator Author

PR: #6949

AkihiroSuda added a commit to AkihiroSuda/libpod that referenced this issue Jul 15, 2020
"TCP" in upper characters was not recognized as a valid protocol name.

Fix containers#6948

Signed-off-by: Akihiro Suda <[email protected]>
mheon pushed a commit to mheon/libpod that referenced this issue Jul 22, 2020
"TCP" in upper characters was not recognized as a valid protocol name.

Fix containers#6948

Signed-off-by: Akihiro Suda <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants