[英]How to change jupyter notebook port when running tensorflow docker?
I'm having hard time understanding the differecne between transaction and span我很难理解事务和跨度之间的区别
For instance, if you run docker using the following image例如,如果您使用以下图像运行 docker
tensorflow/tensorflow:${VERSION}-gpu-jupyter
How do you change the port jupyter server is running?如何更改 jupyter 服务器运行的端口?
docker run --gpus all -v /home/local_user:/tf/notebooks -p 8889:8888 -it --rm tensorflow/tensorflow:2.3.2-gpu-jupyter
You can now start jupyter on localhost:8889 or change 8889 to any desired port for the host.您现在可以在 localhost:8889 上启动 jupyter 或将 8889 更改为主机所需的任何端口。
Port mapping ref: https://docs.docker.com/engine/reference/run/#expose-incoming-ports端口映射参考: https : //docs.docker.com/engine/reference/run/#expose-incoming-ports
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.