Using Docker
- Build the Docker image
docker build -t mpb . - Run the image to be able to access the Jupyter Lab instance on port 8888 in your browser from where you can run and evaluate benchmarks:
docker run -p 8888:8888 -it mpbOptionally, you can mount your local
mpbcopy to its respective folder inside the docker viadocker run -p 8888:8888 -v $(pwd):/root/code/mpb -it mpb # use %cd% in place of $(pwd) on WindowsNow you can edit files from outside the docker and use this container to build and run the experiments.
You can connect multiple times to this same running docker, for example if you want to access it from multiple shell instances via
docker exec -it $(docker ps -qf "ancestor=mpb") bashAlternatively, run the provided script
./docker_connect.shthat executes this command.