Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 958 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 958 Bytes

fastai_docker

Creates a docker image based on the official pytorch image with all you need for the fastai course. Also includes a convience script for people not familiar with docker.

Prerequisites

  1. Nvidia Drivers installed on the host
  2. Install Docker
  3. Install Nvidia Docker Engine

Usage

  1. Clone repository: git clone https://github.com/wAuner/fastai_docker.git
  2. cd fastai_docker
  3. make script executable chmod +x start
  4. build and run: ./start

Next time you want to run it, just use ./start again. It checks if an image and a container exists. If a container exists, it will reuse it. It also makes the current directory available to the docker container under /workspace/mydata. Note that if you create files (e.g. notebooks) from within docker, these will belong to root.