# How to install nbextention in jupyterhub

**URL:** <https://discourse.jupyter.org/t/how-to-install-nbextention-in-jupyterhub/10504>\
**Category:** Zero to JupyterHub on Kubernetes\
**Tags:** jupyterhub, how-to\
**Created:** [August 26, 2021, 11:48am UTC](https://discourse.jupyter.org/t/how-to-install-nbextention-in-jupyterhub/10504 "2021-08-26T11:48:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@tam](https://discourse.jupyter.org/u/tam)\
**Post date:** [August 26, 2021, 11:48am UTC](https://discourse.jupyter.org/t/how-to-install-nbextention-in-jupyterhub/10504/1 "2021-08-26T11:48:18Z")

</div>

I manually wrote dockerfile for install nbextention on singleuser-sample  
Dockerfile:  
FROM jupyterhub/k8s-singleuser-sample:1.1.3  
RUN pip install jupyter\_contrib\_nbextensions &&   
pip install jupyter\_nbextensions\_configurator &&   
jupyter contrib nbextension install --user &&   
jupyter nbextensions\_configurator enable --user  
But it works fine as docker run single containter. But in k8s it pulls that image but nbetentions not display on tab

---

<div class="post-metadata">

**Author:** ![shubhamkanwal](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/shubhamkanwal/32/6377_2.png) [@shubhamkanwal](https://discourse.jupyter.org/u/shubhamkanwal)\
**Post date:** [February 16, 2022, 1:45pm UTC](https://discourse.jupyter.org/t/how-to-install-nbextention-in-jupyterhub/10504/2 "2022-02-16T13:45:29Z")

</div>

Hi, were you able to resolve this issue?
