Problem scenario
You want to install Docker. You want directions for installing it with and without making changes to how packages are installed on the Linux server. You want directions that apply to Linux servers in AWS, Azure, or GCP. You want directions that can apply to CentOS/RHEL, SUSE, or Ubuntu. What do you do?
Solution
Find the link below that is the most appropriate for your needs.
How To Install Docker on an AWS Instance of RedHat Linux (These directions use CentOS packages.)
How Do You Install Docker on an AWS Instance of RHEL? (These directions use RHEL packages.)
How To Install Docker on an AWS Instance of SUSE Linux?
How To Install Docker on an AWS Instance of Ubuntu (These directions do make changes to the Debian package repositories of your Linux server and use dockerproject.org and Ubuntu.com for the installation media.)
How Do You Install Docker on an AWS Instance of Ubuntu? (These directions do not make changes to the Debian package repositories of your Linux server.)
How Do You Install Docker-Compose on a Linux Server?
How Do You Install Docker on a RHEL VM in Azure?
How Do You Install Docker on a GCP VM Running RHEL?
How Do You Install Docker on Debian 9 in GCP?
To run a Docker container as a non-root user, see this posting.