Amazon Linux - Install Docker
sudo yum update -y
sudo yum install docker-io -y
Optional - Add ec2-user to Docker Group
sudo usermod -a -G docker ec2-user
Start Docker On Boot
Run the following command to ensure docker starts on boot.
sudo systemctl enable docker
Last updated: 31st January 2023
First published: 16th August 2018
First published: 16th August 2018