How to install and setup Docker on Linux/Ubuntu 18.04

Docker is an open source application similar to a virtual machine. It is used to simplify the process of automation of applications deployment with its runtime dependencies within Linux containers. Containers, which work independently from the host operating system, enable users to perform quick application deployment, troubleshooting and maintenance with improved security.