Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Amazon Linux - Install Docker

After a few recent issues with using docker on Amazon Linux, I am no longer recommending it. I believe these are related to the devicemapper storage backend and perhaps more steps now need to be performed. Maybe it will be fine if you set it up with overlayFS.

sudo yum update -y
sudo yum install docker-io -y

Optional - Add ec2-user to Docker Group

sudo usermod -a -G docker ec2-user
Last updated: 8th August 2020
First published: 16th August 2018