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

dockerhub 中 docker run-p 80:80 #3752

Open
chendelin1982 opened this issue Mar 25, 2024 · 1 comment
Open

dockerhub 中 docker run-p 80:80 #3752

chendelin1982 opened this issue Mar 25, 2024 · 1 comment

Comments

@chendelin1982
Copy link

chendelin1982 commented Mar 25, 2024

dockerhub 中的 Readme 写的 docker run -p 80:80,而官方文档写的 docker run -p 80:8080
实际上8080 可用
是不是 Dockerhub 需要修正

@starlying
Copy link
Contributor

.net8开始容器需要使用8080端口对外服务,如果是7.3.0之前的版本,需要用-p 80:80,如果是7.3.0或者之后的版本,需要用-p 80:8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants