Here’s the installation of Docker for the original Amazon Linux.

<pre lang="bash">
# To install docker
sudo yum install docker
sudo service docker start
# Validate it's working
docker --version
docker run hello-world
docker ps -a
docker image ls