Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Docker 我无法在本地访问jupyterhub_Docker_Jupyter_Jupyterhub - Fatal编程技术网

Docker 我无法在本地访问jupyterhub

Docker 我无法在本地访问jupyterhub,docker,jupyter,jupyterhub,Docker,Jupyter,Jupyterhub,我有一个本地运行的docker映像(jupyterhub)。 当我在浏览器中尝试localhost:8000时,我发现网站无法访问这个问题 docker ps秀 这是jupyterhub dockerimages的日志 ratha$docker run-p 8000:8000 856b48323ac4 什么是错误的,同样的形象为他人运行。我正在MAC的docker终端中尝试它。使用参数尝试运行docker run-p 8000:8000-d--名称jupyterhub jupyterhub/ju

我有一个本地运行的docker映像(jupyterhub)。 当我在浏览器中尝试localhost:8000时,我发现网站无法访问这个问题

docker ps秀

这是jupyterhub dockerimages的日志

ratha$docker run-p 8000:8000 856b48323ac4


什么是错误的,同样的形象为他人运行。我正在MAC的docker终端中尝试它。

使用参数尝试运行
docker run-p 8000:8000-d--名称jupyterhub jupyterhub/jupyterhub jupyterhub
您尝试访问本地主机8081和8001了吗?你已经在8000上运行网络应用了吗?
I 2019-09-17 00:40:38.690 JupyterHub app:2120] Using Authenticator: jupyterhub.auth.PAMAuthenticator-1.0.0
[I 2019-09-17 00:40:38.691 JupyterHub app:2120] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-1.0.0
[I 2019-09-17 00:40:38.709 JupyterHub app:1257] Loading cookie_secret from /srv/jupyterhub/jupyterhub_cookie_secret
[I 2019-09-17 00:40:38.755 JupyterHub proxy:460] Generating new CONFIGPROXY_AUTH_TOKEN
[W 2019-09-17 00:40:38.756 JupyterHub app:1532] No admin users, admin interface will be unavailable.
[W 2019-09-17 00:40:38.757 JupyterHub app:1534] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2019-09-17 00:40:38.757 JupyterHub app:1563] Not using whitelist. Any authenticated user will be allowed.
[W 2019-09-17 00:40:38.804 JupyterHub app:1898] admin appears to have stopped while the Hub was down
[I 2019-09-17 00:40:38.816 JupyterHub app:2337] Hub API listening on http://127.0.0.1:8081/hub/
[W 2019-09-17 00:40:38.817 JupyterHub proxy:516] Found proxy pid file: /srv/jupyterhub/jupyterhub-proxy.pid
[W 2019-09-17 00:40:38.817 JupyterHub proxy:528] Proxy no longer running at pid=11
[W 2019-09-17 00:40:38.819 JupyterHub proxy:642] Running JupyterHub without SSL.  I hope there is SSL termination happening somewhere else...
[I 2019-09-17 00:40:38.819 JupyterHub proxy:645] Starting proxy @ http://:8000
00:40:39.475 - info: [ConfigProxy] Proxying http://*:8000 to (no default)
00:40:39.481 - info: [ConfigProxy] Proxy API at http://127.0.0.1:8001/api/routes
[I 2019-09-17 00:40:39.649 JupyterHub proxy:319] Checking routes
[I 2019-09-17 00:40:39.650 JupyterHub proxy:399] Adding default route for Hub: / => http://127.0.0.1:8081
[I 2019-09-17 00:40:39.654 JupyterHub app:2422] JupyterHub is now running at http://:8000

[I 2019-09-17 00:45:39.659 JupyterHub proxy:319] Checking routes
[I 2019-09-17 00:50:39.656 JupyterHub proxy:319] Checking routes