Blame view

docker/README.md 830 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  # Kaldi Docker images
  
  Kaldi offers two set of images: CPU-based images and GPU-based images. Daily builds of the latest version of the master branch (both CPU and GPU images) are pushed daily to [DockerHub](https://hub.docker.com/r/kaldiasr/kaldi). 
  
  ## Using pre-built images 
  Sample usage of the CPU based images:
  ```bash
  docker run -it kaldiasr/kaldi:latest bash
  ``` 
  
  Sample usage of the GPU based images:
  
  Note: use [nvidia-docker](https://github.com/NVIDIA/nvidia-docker) to run the GPU images.
  
  ```bash
  docker run -it --runtime=nvidia kaldiasr/kaldi:gpu-latest bash
  ```
  
  ## Building images locally
  For building the CPU-based image:
  ```bash
  cd docker/debian9.8-cpu
  docker build --tag kaldiasr/kaldi:latest .
  ```
  
  and for GPU-based image:
  ```bash
  cd docker/ubuntu16.04-gpu
  docker build --tag kaldiasr/kaldi:gpu-latest .
  ```