Docker is a software that helps create Docker images that can be used to create one or more containers and run it on the host operating system. The easiest way to set up Docker is to use the setup script provided by Docker for the community edition, as shown here:
% wget -qO- https://get.docker.com/ | sh
The preceding command will set up Docker, based on the host operating system. Docker also provides prebuilt packages for all the popular operation systems under its Download section (https://www.docker.com/community-edition#/download). Once installed, add the current user to the docker group, as shown here:
% sudo usermod -aG docker $USER
You may have to start a new login session for group membership to be taken into account. ...