A Docker image that builds a worlkable jupyter notebook
Build the image
docker compose build
Run the image
docker compose up
Install pip dependencies (while the container is running)
docker exec -u root -t -i fuzzingbook sh -c "/home/jovyan/install.sh"
Dockerfile
- The dockerfile uses the base image
quay.io/jupyter/base-notebook:e838ff397a2d
. - We change the user to root as we need to run apt-get commands.
- Install the python dependencies
docker-compose.yml
- in privileged mode (root)
- Add the volume for the fuzzing book - so we have persistent data.
install.sh
- install pip dependencies
- this script is run manually in step 3