Home > Storage > PowerFlex > White Papers > SUSE Rancher and RKE Kubernetes cluster using CSI Driver on DELL EMC PowerFlex > Steps to Install the docker on the Linux workstation and the Kubernetes nodes
Note: All servers must have SUSE SLES license and must be able to connect to SUSE customer enter or a local RMT server. To update the servers to latest updates, run the zypper update.
$ SUSEConnect -p sle-module-containers/15.2/x86_64 |
$ zypper install docker $ systemctl enable docker $ systemctl start docker $ systemctl status docker |
The RKE binary is available for Windows and Linux operating systems. In this solution, RKE is run from a Linux workstation VM. RKE connects to the nodes using SSH key pairs.
Note: Make sure that the SSH login that is used for node access is a member of the docker group on the node.
$ useradd -m -G docker <user_name> $ su - <user_name> $ mkdir $HOME/.ssh $ chmod 600 $HOME/.ssh $ touch $HOME/.ssh/authorized_keys |
$ docker version |
$ ssh-keygen |
The following files are created after SSH key pairing:
$HOME/.ssh/id_rsa (SSH private key, keep this secure) $HOME/.ssh/id_rsa.pub (SSH public key) |
$ cat .ssh/id_rsa.pub | ssh node1 "cat >> .ssh/authorized_keys" |
$ ssh -i $HOME/.ssh/id_rsa <user_name>@<hostname> docker version |