This is continuous to the post here , using Amazon Linux2 as my virtual desktop.
Amazon Linux doesnt come with docker pre installed so we need install required packages
Installing Docker And Starting the Service
$ sudo yum install -y docker
$ sudo service docker start
//Notice : sudo , pls refer below for explanation
$ sudo docker -version
Manage Docker as a non-root user
The Docker daemon binds to a Unix socket instead of a TCP port. By default that Unix socket is owned by the user root
and other users can only access it using sudo
. The Docker daemon always runs as the root
user.
Site is being migrated to https://www.silverdreamracer.me , pls be advised below link will take you to correct URL.