can't open jupyter on google cloud platform with gpu and docker

前端 未结 1 606
轮回少年
轮回少年 2020-11-30 15:53

I wanted to use following command to open jupyter:

docker run --runtime=nvidia --name tensorflow1 -it -p 8888:8888 -p 6006:6006 tensorflow/tensorflow:latest-         


        
相关标签:
1条回答
  • 2020-11-30 16:45

    After one month debug, finally,finally,finally,finally,finally,finally,finally,finally,finally,finally,finally,finally I fond the answer:

    google cloud platform only open one port for docker deployment which is 8080

    so if you want to open docker jupyter notebook, you should use the following method:

    docker run  --runtime=nvidia --name tensorflow1 -it  -p 8080:8888 tensorflow/tensorflow:latest-gpu-py3-jupyter
    

    pay attention to 8080:8888

    0 讨论(0)
提交回复
热议问题