Hi am running Jupter in docker swarm and service does not created as below
# docker service create --name myjupyter --publish 8000:8000 jupyterhub/jupyterhub
6t59ut2anca57452smcc1roy9
overall progress: 1 out of 1 tasks
1/1: running [==================================================>]
verify: Service converged
- here is one container logs
root@master:~# docker logs myjupyterhub.1.dce9j6vule625ue13akuctutv
[I 2020-12-19 20:24:22.250 JupyterHub app:2349] Running JupyterHub version 1.3.0
[I 2020-12-19 20:24:22.251 JupyterHub app:2379] Using Authenticator: jupyterhub.auth.PAMAuthenticator-1.3.0
[I 2020-12-19 20:24:22.251 JupyterHub app:2379] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-1.3.0
[I 2020-12-19 20:24:22.252 JupyterHub app:2379] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-1.3.0
[I 2020-12-19 20:24:22.270 JupyterHub app:1465] Writing cookie_secret to /srv/jupyterhub/jupyterhub_cookie_secret
[I 2020-12-19 20:24:22.311 alembic.runtime.migration migration:155] Context impl SQLiteImpl.
[I 2020-12-19 20:24:22.311 alembic.runtime.migration migration:158] Will assume non-transactional DDL.
[I 2020-12-19 20:24:22.330 alembic.runtime.migration migration:517] Running stamp_revision -> 4dc2d5a8c53c
[I 2020-12-19 20:24:22.536 JupyterHub proxy:460] Generating new CONFIGPROXY_AUTH_TOKEN
[W 2020-12-19 20:24:22.538 JupyterHub app:1695] No admin users, admin interface will be unavailable.
[W 2020-12-19 20:24:22.539 JupyterHub app:1696] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2020-12-19 20:24:22.539 JupyterHub app:1725] Not using allowed_users. Any authenticated user will be allowed.
[I 2020-12-19 20:24:22.624 JupyterHub app:2416] Initialized 0 spawners in 0.004 seconds
[W 2020-12-19 20:24:22.630 JupyterHub proxy:662] Running JupyterHub without SSL. I hope there is SSL termination happening somewhere else...
[I 2020-12-19 20:24:22.631 JupyterHub proxy:666] Starting proxy @ http://:8000
[E 2020-12-19 20:24:22.644 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known
[E 2020-12-19 20:24:22.837 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known
[E 2020-12-19 20:24:22.998 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known
20:24:23.380 [ConfigProxy] info: Proxying http://*:8000 to (no default)
20:24:23.383 [ConfigProxy] info: Proxy API at http://127.0.0.1:8001/api/routes
[E 2020-12-19 20:24:23.624 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known
[E 2020-12-19 20:24:23.626 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known
[E 2020-12-19 20:24:23.643 JupyterHub utils:80] Unexpected error connecting to 1e25b39cd231:8000 [Errno -2] Name or service not known