Installation
For using docker commands in Windows and Mac OS, you must install Docker Desktop.
Install docker on ubuntu
# The root user is assumed, otherwise each command must be preceded by sudo
# update software Repositories
apt-get update
# uninstall previous versions of Docker
apt-get remove docker docker-engine docker.io
# install docker
apt install docker.io
# allow Docker service run at startup
systemctl start docker
systemctl enable docker
# check a current docker version
docker --version