Read this article which will help you to understand the procedure of Docker installation in Linux. This tutorial was published on scmGalaxy and written by well known DevOps trainer - Rajesh kumar.
Note - You should install Docker using root or with sudo access.
Install Docker on Ubantu
# apt-get update
# apt-get install -y docker.io
# service docker.io start
Install Docker on Redhar / Centos Read more click here
Reference:- This article was article was originally posted on scmGalaxy.com