This is a docker build file designed to prepare the enviroment for Fast.ai machine learning course without Nvidia drivers or GPU so you can expect fast trainings but it may be useful for learning.
This container pulls the neccesary fast.ai classes and data. This Docker file is a modified version of this.
sudo docker build -t fastaiml .
sudo docker run -i -p 8888:8888 fastaiml
When you run your container, it will print in the console the URL from where you can access to the jupyter notebook.
You can know the jupyter notebook too, with the following command:
jupyter notebook list
You can just run the following without having to build the entire container yourself. This will pull the container from Docker Hub.
docker run -d -p 8888:8888 hamorillo/fast_ai_ml_course_environment
You should download the zip with the dataset from Kaggle in the folder:
/notebooks/courses/ml1/data/bulldozers
You can do it with a cURL in the terminal of the docker container docker exec -it <containerId> bash
. (Don't forget to accept the terms & conditions in Kaggle web to retrive the cURL). When you have the dataset downloaded, just unzip it in the previous folder.