![](/img/trans.png)
[英]Unable to change working directory for a jupyter notebook running on a tensorflow docker container
[英]How to change jupyter notebook port when running tensorflow docker?
我很难理解事务和跨度之间的区别
例如,如果您使用以下图像运行 docker
tensorflow/tensorflow:${VERSION}-gpu-jupyter
如何更改 jupyter 服务器运行的端口?
docker run --gpus all -v /home/local_user:/tf/notebooks -p 8889:8888 -it --rm tensorflow/tensorflow:2.3.2-gpu-jupyter
您现在可以在 localhost:8889 上启动 jupyter 或将 8889 更改为主机所需的任何端口。
端口映射参考: https : //docs.docker.com/engine/reference/run/#expose-incoming-ports
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.