Here is a quick guide to setting up your own Jupyter Notebook server with the latest Q kernel and your own license file.
If you have
- docker-compose on Linux (or WSL2)
- your
$QHOME
/$QLIC
already set - a valid
kc.lic
just run:
$ docker-compose up -d # or docker compose up -d
and open http://localhost:8888
.
- You need a Linux running on an Intel CPU with Docker installed. You can get this on Windows 10/11 too if you install WSL2 and Docker Desktop.
- You need the l64 kdb binaries unzipped in a directory. The directory should at least contain
q.k
andl64/q
. - You need a valid license file, typically a
kc.lic
.
You can request and download a free KDB personal edition with a 12 month free license here.
Edit the relevant variables in the .env
file. Those should point to your q home directory and your license file directory.
If you already have $QHOME
and $QLIC
set up, nothing has to be done.
You can also modify the notebooks directory path and the server port if you need to.
Go to the directory where the docker-compose.yml
and .env
file is and run the command below.
This will download the kxsys/jupyterq
image to your computer (if not available yet) and start the server.
$ docker-compose up -d # or docker compose up -d
Open http://localhost:8888
.
$ docker-compose down # or docker compose down
$ docker rmi kxsys/jupyterq