From 25d07511ed63959777ab1d0bee9f8e5f79382318 Mon Sep 17 00:00:00 2001 From: Jason Divock Date: Tue, 14 Apr 2015 16:19:23 -0700 Subject: [PATCH] Update basic setup instructions Without adding the user to the group you're going to hit nasty TLS errors. Figured I'd save the next guy the hassle. Problem more accurately described here: https://github.com/docker/docker/issues/5314 Signed-off-by: Jason Divock --- docs/sources/installation/amazon.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/sources/installation/amazon.md b/docs/sources/installation/amazon.md index 6a28685dc5..60a6653b7b 100644 --- a/docs/sources/installation/amazon.md +++ b/docs/sources/installation/amazon.md @@ -28,8 +28,12 @@ Repository. your Amazon Linux instance should be running! 3. SSH to your instance to install Docker : `ssh -i ec2-user@` -4. Once connected to the instance, type - `sudo yum install -y docker ; sudo service docker start` +4. Add the ec2-user to the docker group : + `sudo usermod -a -G docker ec2-user` +5. Restart the machine and log back in + `sudo shutdown -r now` +6. Once connected to the instance, type + `sudo yum install -y docker ; sudo service docker start` to install and start Docker **If this is your first AWS instance, you may need to set up your Security Group to allow SSH.** By default all incoming ports to your new instance will be blocked by the AWS Security Group, so you might just get timeouts when you try to connect.