Skip to content
Advertisement

Tag: jupyter-notebook

How to install a new Jupyter Kernel from script

I am trying to install a new kernel on a jupyter environment from bash script. In a dockerfile that uses jupyter/minimal-notebook as the parent image, I run a bash script that: generates a new virtual env: python -m venv new_kernel installs numpy and ipykernel new_kernel/bin/pip install ipykernel numpy registers the kernel: new_kernel/bin/python -m ipykernel install –name new_kernel –display-name “Python (new_kernel)”.

how to mount a local volume for my docker?

i am newbie to the Linux and docker. I am using the below command to run the docker: where; /home/pyman/PEYMAN is my local directory and 21bbc6c8f7ed is the image ID. after running this command, the workspace root changes to root@0ce2ee24bac0:/workspace# then I type jupyter notebook and run it, and it provides two links which only the second link opens the

Advertisement