Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Docker for Nvidia GPU

Instruction on Using Nvidia GPU (CUDA) for Computing in Docker

  1. Install Nvidia cuda-drivers (or equivalent) on your Linux machine following instructions at CUDA Downloads. Notice that instead of installing cuda (using sudo apt-get install cuda), it is suggested that you install cuda-drivers only (using sudo apt-get install cuda-drivers). This is …

Build Docker Images Using Kaniko

  1. Kaniko works differently from Docker. It runs inside a Docker container and detect and extract new layers to build Docker images. Since Kaniko manipulates the filesystem (layers) inside the Docker container, it can have unexpected side effect if not used carefully. For this reason, the developer team suggests users to …

Init for Docker Containers

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

Built-in Support

Docker has built-in support for init process (which is based on tini) now. In short, you just have to specify the option --init when you start a container using …

Install Docker

Install Docker on Debian Series of Linux Distributions

You can install Docker on Debian series of Linux distributions (Debian, Ubuntu, Linux Mint, etc.) using the following commands.

sudo apt-get update
sudo apt-get install docker.io

Configure your docker following instructions in the section Configure Docker .

Install the Latest Version of …