Welcome to JupyterHub-Docker-Local! This project provides a convenient way to set up and run a JupyterHub instance using Docker containers on your local machine. This setup allows multiple users to access their own Jupyter notebooks and environments, making it ideal for classrooms, collaborative projects, or personal development.
Before you begin, ensure you have Docker installed on your system. Please refer installation guide to install docker on your system.
git clone https://github.com/apurvkulkarni7/jupyterhub-on-local-machine.git
cd jupyterhub-on-local-machine
-
Make the local_jupyterhub.sh script executable (if not).
chmod +x local_jupyterhub.sh
-
Modify the requirements.txt, as per your needs, to install python packages inside the JupyterHub environment.
-
Setup the docker image. You need to do it only once.
./local_jupyterhub.sh setup
To start the JupyterHub session from the image, run:
./local_jupyterhub.sh start
You can also start the JupyterHub session at desired location, by running:
./local_jupyterhub.sh start /path/to/your/directory
To stop the JupyterHub session, run:
./local_jupyterhub.sh stop
- Make jupyterhub_config.py available for customization.
- Launching docker with specified resources (CPU and Memory)
Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under GNU GPL V3. See the LICENSE file for more details.