Skip to content

A Docker image that builds a workable jupyter notebook

License

Notifications You must be signed in to change notification settings

12rcu/fuzzingbook-docker

Repository files navigation

fuzzingbook-docker

A Docker image that builds a worlkable jupyter notebook

Usage

Step 1

Build the image

docker compose build

Step 2

Run the image

docker compose up

Step 3

Install pip dependencies (while the container is running)

docker exec -u root -t -i fuzzingbook sh -c "/home/jovyan/install.sh"

How this image is built

  1. 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
  1. docker-compose.yml
  • in privileged mode (root)
  • Add the volume for the fuzzing book - so we have persistent data.
  1. install.sh
  • install pip dependencies
  • this script is run manually in step 3