You can refer this link for detailed guideline
https://dev.to/dhaval_upadhyay_30f8292a8/install-docker-using-command-line-and-pull-code-from-github-2l6c