Here's what you'll need:
- 64-bit version of one of Docker’s supported Linux distributions (CentOS 7+, Debian 7.7+, Fedora 26+, Ubuntu 14.04+)
- Docker Community Edition (CE)
- Optional: an NVIDIA GPU if you will be using the NVIDIA Container Toolkit
Contents
Installing and configuring Docker
Install Docker using the instructions specific to your Linux distribution:
- CentOS installation instructions
- Debian installation instructions
- Fedora installation instructions
- Ubuntu installation instructions
Once Docker is installed, it is recommended that you follow the post-installation steps for Linux to enable Docker access for a non-root user, since this helps to avoid filesystem permission issues for a number of use cases.
Unlike under other host operating systems, there is no resource limit configuration required under Linux because Docker does not impose any arbitrary memory or disk usage limits by default.
Optional: installing and configuring the NVIDIA Container Toolkit
If your host system has a compatible NVIDIA GPU and you intend to run containers with GPU acceleration via the NVIDIA Container Toolkit, follow the installation instructions for the NVIDIA Container Toolkit to install and configure GPU acceleration support.