This tutorial explains how to install Docker on Amazon Linux 2
Docker
sudo amazon-linux-extras install docker
Docker service
sudo service docker start
Docker installation
docker --version
Docker version 19.03.13-ce, build 4484c46
If you are seeing output as shown above, than Docker
is successfully installed.
Now Docker is up and running with Sudo permissions, lets add user to
docker, so that docker command commands can be executed without Sudo access
docker group
sudo usermod -a -G docker ""username""
Similar Articles