A simple bash script that will install a docker container and run jupyter-notebook. This docker container use alpine-linux as the base-distro and provides a ready-to-run Jupyter Notebook application with NumPy, Matplotlib and OpenCV packages installed. Jupyter notebook server run as root all authentication was disabled.
- Install docker first, refer on this to install on your Linux machine:
-
After you install docker by confirming it
docker --version
. Use commandsudo systemctl start docker
orsudo service docker start
, to enable and start docker -
Now clone this repository:
sudo git clone https://github.com/erickills/docker-jupyter.git
-
cd
to docker-jupyter -
Give executable priveleges to the script by using:
sudo chmod +x install.sh
thensudo ./install.sh
to install and run the container automatically.
You can verify if the container is running by using command: sudo docker ps
or sudo docker ps -a
If the installation was successful, go to your browser type localhost:8888
If you can't ssh
to the container using command: sudo docker exec -it [dockername] /bin/sh
, you can go to localhost:8888
again and click new terminal. this will provide a terminal running on your browser, you can add some packages or modules if you need to.