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.