We've been testing/build from ubuntu 18.04 LTS & docker version 19.03.1 (with docker API version 1.40). If you want to building docker images, you could have
- Docker Engine
- nvidia-docker (to start container with GPUs)
- Disk space (a lot)
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sh get-docker.sh
You could update from nvidia-docker.
You could see the Dockerfile
on this repository. So you can copy this file and build as manually or clone this repository.
$ git clone --recursive https://github.com/open-mmlab/mmaction
$ cd mmaction
$ docker build -t mmaction .
So when you building this image. The image will not successfully because we want to modified in this code. So you can clone repository in container manually from next step below.
$ docker run --name mmaction --gpus all -it -v /path/to/your/data:/root mmaction
When run the container, Please follow step GETTING_STARTED.md to use mmaction.