How To Install Docker On Amazon Linux AMI

  1. Create EC2 with Amazon Linux AMI
  2. Login to your EC2 with PuTTY
  3. Do an update of Amzon Linux sudo yum update
  4. Now for installing docker run below command: sudo yum install -y docker
  5. Give permission sudo usermod -a -G docker ec2-user
  6. Start Docker Service sudo service docker start

Comments