Update _index.md

The installation steps for docker and group configuration are in the wrong order.
This commit is contained in:
fritzduchardt
2021-04-05 16:14:34 +02:00
committed by GitHub
parent 8f69aa3f4a
commit 8d8c628130
@@ -47,14 +47,14 @@ If the Rancher server is installed in a single Docker container, you only need o
```
sudo ssh -i [path-to-private-key] ubuntu@[public-DNS-of-instance]
```
1. When you are connected to the instance, run the following command on the instance to create a user:
```
sudo usermod -aG docker ubuntu
```
1. Run the following command on the instance to install Docker with one of Rancher's installation scripts:
```
curl https://releases.rancher.com/install-docker/18.09.sh | sh
```
1. When you are connected to the instance, run the following command on the instance to add user `ubuntu` to group `docker`:
```
sudo usermod -aG docker ubuntu
```
1. Repeat these steps so that Docker is installed on each node that will eventually run the Rancher management server.
> To find out whether a script is available for installing a certain Docker version, refer to this [GitHub repository,](https://github.com/rancher/install-docker) which contains all of Rancher’s Docker installation scripts.