From 8d8c628130490493a148220a0a7b7511543fbea8 Mon Sep 17 00:00:00 2001 From: fritzduchardt Date: Mon, 5 Apr 2021 16:14:34 +0200 Subject: [PATCH] Update _index.md The installation steps for docker and group configuration are in the wrong order. --- .../infrastructure-tutorials/ec2-node/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/rancher/v2.x/en/installation/resources/k8s-tutorials/infrastructure-tutorials/ec2-node/_index.md b/content/rancher/v2.x/en/installation/resources/k8s-tutorials/infrastructure-tutorials/ec2-node/_index.md index 564ccdb49fb..2e01e815809 100644 --- a/content/rancher/v2.x/en/installation/resources/k8s-tutorials/infrastructure-tutorials/ec2-node/_index.md +++ b/content/rancher/v2.x/en/installation/resources/k8s-tutorials/infrastructure-tutorials/ec2-node/_index.md @@ -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.