# Why does the single user notebook server image need JupyterHub?

**URL:** https://discourse.jupyter.org/t/why-does-the-single-user-notebook-server-image-need-jupyterhub/13457
**Category:** JupyterHub
**Created:** [March 16, 2022, 3:30pm UTC](https://discourse.jupyter.org/t/why-does-the-single-user-notebook-server-image-need-jupyterhub/13457 "2022-03-16T15:30:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![adpatter](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/adpatter/32/21229_2.png) [@adpatter](https://discourse.jupyter.org/u/adpatter)
#### Post date: [March 16, 2022, 3:30pm UTC](https://discourse.jupyter.org/t/why-does-the-single-user-notebook-server-image-need-jupyterhub/13457/1 "2022-03-16T15:30:42Z")

</div>

[Here](https://jupyterhub-dockerspawner.readthedocs.io/en/latest/docker-image.html) it states, “Any of the existing Jupyter [docker stacks](https://github.com/jupyter/docker-stacks) can be used with JupyterHub, provided that the version of JupyterHub in the image matches.”

I think I’m trying to understand how the [parts](https://jupyterhub.readthedocs.io/en/stable/index.html) interact. It is my understanding that JupyterHub configures the proxy to forward requests to the appropriate single user notebook server. However, why does the single user notebook server need JupyterHub installed? The reason I ask is that the JupyterHub process is already running prior to spawning the single user notebook servers.

---

<div class="post-metadata">

### Author: ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)
#### Post date: [March 16, 2022, 7:44pm UTC](https://discourse.jupyter.org/t/why-does-the-single-user-notebook-server-image-need-jupyterhub/13457/2 "2022-03-16T19:44:54Z")

</div>

The JupyterHub package includes a [JupyterHub singleuser component](https://github.com/jupyterhub/jupyterhub/tree/2.2.2/jupyterhub/singleuser) that wraps the standard jupyter-server/lab/notebook so that it can handle communication with JupyterHub. In theory it could be split into two separate packages, but for convenience both components are bundled into one.
