This is a docker image that extends the MIR-toolbox-docker docker image. The MIR-toolbox-docker image runs an ipython notebook server with this dependencies plus MTG's essentia library.
We provide in here a way of to facilitate extending the base image with new requirements.
It is recommended to read the documentation about Docker and docker-compose.
https://docs.docker.com/docker-for-windows/install/
https://docs.docker.com/docker-for-mac/install/
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-docker-ce
Follow instructions.
First run the following command:
docker-compose up
Then access localhost:8888 on your browser and when asked for a password use mir
Simply add them into the requirements.txt file as it is done in here and run:
docker-compose up --build
Take into consideration that the docker container created by the docker-compose up command will only be able to access the directories on your machine that are specified on the volumes instruction of the docker-compose.yml file.
With the configuration we provide in here the working directory ('.') is mounted in the docker container on /home/ds/notebooks.
If you want to mount a different directory, for instance /home/user/data, modify the volumes section of the docker_compose.yml file like:
volumes:
- /home/user/data:/home/ds/notebooks