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

请教如何改端口? #4

Closed
Netflixxp opened this issue Oct 9, 2022 · 1 comment
Closed

请教如何改端口? #4

Netflixxp opened this issue Oct 9, 2022 · 1 comment

Comments

@Netflixxp
Copy link

看说明是HTTP_PORT,那应该怎么用呢?
比如,我想用8777端口,我之前docker换端口是用的 -p 8777:80
小白问题,请指教

@samlm0
Copy link
Contributor

samlm0 commented Oct 9, 2022

docker run 后面添加

例如:

docker run -d -e HTTP_PORT=8777 --name looking-glass --restart always --network host wikihostinc/looking-glass-server

@samlm0 samlm0 closed this as completed Oct 9, 2022
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