Skip to main content
Version: v2.5

Installing Docker

Docker is required to be installed on nodes where the Rancher server will be installed with Helm or Docker.

There are a couple of options for installing Docker. One option is to refer to the official Docker documentation about how to install Docker on Linux. The steps will vary based on the Linux distribution.

Another option is to use one of Rancher's Docker installation scripts, which are available for most recent versions of Docker.

For example, this command could be used to install Docker 20.10 on Ubuntu:

curl | sh

Rancher has installation scripts for every version of upstream Docker that Kubernetes supports. To find out whether a script is available for installing a certain Docker version, refer to this GitHub repository, which contains all of Rancher's Docker installation scripts.