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

端口号问题 #11

Open
LiQian926 opened this issue Nov 1, 2023 · 2 comments
Open

端口号问题 #11

LiQian926 opened this issue Nov 1, 2023 · 2 comments

Comments

@LiQian926
Copy link

问题:运行HDDM镜像的时候,在PowerShell输入指令docker run -it --rm --cpus=4 -v /c/hcp4715/hddm_docker:/home/jovyan/work -p 8890:8890 hcp4715/hddm:0.8 jupyter notebook之后,使用PowerShell生成的地址http://127.0.0.1:8888/?token=d81ebebfd7b85cc27f2f3ba953b02c17b84b5f70c50559d5进不去jupyter notebook
问题原因:jupyter notenote默认使用8888端口,无论指令指定了什么端口,生成的地址中的端口号都是8888
解决方案1:把指令中的 -p 8890:8890 改成 -p 8888:8888, 然后再用生成的地址进入
解决方案2:把指令中的-p 8890:8890 改成-p 8890:8888 ,然后把生成地址中的端口号改为8890即可进入

p.s. 新的端口号可以是任何一个未被占用的端口
p.s.p.s. 注意修改端口号的格式 -p 新端口号:8888

@maomx0711
Copy link

问题:在win家庭版上安装docker时出现了这个报错Process com.docker.dev-envs.exe has exited;
wsl和ubautu都正常安装完毕,重新安装docker之后依然存在这个问题

@hcp4715
Copy link
Owner

hcp4715 commented Jul 25, 2024

@maomx0711 这个问题可以在discussions(https://github.com/hcp4715/dockerHDDM/discussions)里讨论更合适,

你的问题可能可以参考这个issue:docker/for-win#13840

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

3 participants