# Licence manager issues with qjupyter

**URL:** <https://forum.kx.com/t/licence-manager-issues-with-qjupyter/13093>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [November 22, 2023, 12:08pm UTC](https://forum.kx.com/t/licence-manager-issues-with-qjupyter/13093 "2023-11-22T12:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![usr190319061](https://avatars.discourse-cdn.com/v4/letter/u/ee59a6/32.png) [@usr190319061](https://forum.kx.com/u/usr190319061)\
**Post date:** [November 22, 2023, 12:08pm UTC](https://forum.kx.com/t/licence-manager-issues-with-qjupyter/13093/1 "2023-11-22T12:08:00Z")

</div>

I am trying to start qJupyter on one of our servers.&nbsp;  
I am not an expert in docker. I know just enough to get by.&nbsp;

I am starting the docker image with the following line:&nbsp;

&nbsp;

&nbsp;

sudo docker run --rm -it -h=`hostname` --mount type=bind,source=${QHOME}/k4.lic,target=/opt/kx/q/k4.lic -e QLIC=‘/opt/kx/q/’ -p 8888:8888 kxsys/jupyterq

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Everything looks fine and I can access the jupyter notebook through the browser&nbsp;

The python kernel works fine.&nbsp;  
The q kernel shows this pop-up&nbsp;

and I also see these errors in my terminal&nbsp;

In the container I have the following env:&nbsp;

&nbsp;

and in QHOME in the container I have these:&nbsp;

&nbsp;

Does anyone know why I keep getting the k4.lic error?&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Laura2](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Laura2](https://forum.kx.com/u/Laura2)\
**Post date:** [November 27, 2023, 9:43am UTC](https://forum.kx.com/t/licence-manager-issues-with-qjupyter/13093/2 "2023-11-27T09:43:00Z")

</div>

Hi&nbsp;&nbsp;,&nbsp;

I’m not very familiar with qJupyter as it is an external resource, but I would maybe suggest testing your k4.lic by ensuring q runs from your terminal.

If that’s not working, you might need to grab a new license from&nbsp;kdb License Free Trial Options | KX

I’ll leave this topic open and maybe some others in our community will have experience with qJupyter.

Thanks,

Laura
