无法使用以下命令启动Docker容器
docker start tensorflow1
我使用docker日志tensorflow1,它说:
[E 07:38:37.008 NotebookApp] 500 POST /api/kernels/1e380902-1791-4e30-9f72-cea20d1d41b3/restart (64.64.108.69) 62117.82ms referer=http://35.221.176.13:8888/notebooks/Untitled2.ipynb
[I 07:39:07.783 NotebookApp] Adapting to protocol v5.1 for kernel 86555bd9-460a-419d-9402-def226ff4fc2
[I 07:40:12.105 NotebookApp] Saving file at /Untitled2.ipynb
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "<decorator-gen-7>", line 2, in initialize
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/notebook/notebookapp.py", line 1629, in initialize
self.init_webapp()
File "/usr/local/lib/python3.5/dist-packages/notebook/notebookapp.py", line 1408, in init_webapp
self.http_server.listen(port, self.ip)
File "/usr/local/lib/python3.5/dist-packages/tornado/tcpserver.py", line 143, in listen
sockets = bind_sockets(port, address=address)
File "/usr/local/lib/python3.5/dist-packages/tornado/netutil.py", line 168, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address
出什么问题了?
答案 0 :(得分:0)
删除所有正在运行的容器后,我再次重建了容器,然后成功。我认为我遇到问题的原因是其他具有相同地址和相同端口的容器运行