* Clarifies, that you only need Docker for RKE1 installs, not for K3s and RKE2 * Centralizes the Docker installation documentation on the already existing page * Clarifies that the Dockershim docs do not apply for K3s and RKE2 * Simplifies the requirement to deactivate firewalld and fixes that it also applies to newer Kubernetes versions * Clarifies UI browser support * Clarifies Docker support for K3s * Fixes ingress controller docs: RKE2 already installs an ingress controller as well Fixes https://github.com/rancher/rancher-docs/issues/254
1.1 KiB
title
| title |
|---|
| Installing Docker |
Docker is required to be installed on nodes where the Rancher server will be installed with Helm on an RKE cluster or with Docker. Docker is not required for RKE2 or K3s clusters.
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 https://releases.rancher.com/install-docker/20.10.sh | 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.
Note that the following sysctl setting must be applied:
net.bridge.bridge-nf-call-iptables=1