To simplify and containerize Animius, we created a docker image that create virtual environments to isolate Animius installation. Animius is run within this virtual environment that can share resources with its host machine (access directories, use the GPU (on linux only), connect to the Internet, etc.).
Docker is the easiest way to enable GPU support on Linux since only the NVIDIA® GPU driver is required on the host machine (the NVIDIA® CUDA® Toolkit does not need to be installed).
Animius Docker requirements
Download an Animius Docker image
- latest – Latest version of Animius (Default)
- version – Specify the version of Animius, for example: 1.0
Each base tag has variants that add or change functionality:
- -gpu – Release with GPU support (See Below)
For example, the following commands download Animius release images to your machine:
docker pull gundammc/animius # latest release docker pull gundammc/animius:latest-gpu # latest release w/ GPU support
Start an Animius Docker container
To start an Animius-configured Docker container, use the following:
docker run [-it] [--rm] [-p hostPort:containerPort] gundammc/animius[:tag] [command]
For details, see the docker run reference.