This procedure applies to Linux systems
If you already use Linux, your life will be a little easier. Everything you need is already on your system, or you can install it with a few commands. You won't even need a GIT Bash or Docker Machine.
On Ubuntu you can use this tutorial.
In short:
# System update
sudo apt update
# Install the necessary packages
sudo apt install apt-transport-https ca-certificates curl software-properties-common
# Add a repository
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
apt-cache policy docker
# Docker installation
sudo apt install docker docker-compose-plugin
sudo systemctl enable docker
sudo systemctl start docker
# Add the current user to the docker group
sudo usermod -aG docker ${USER}
# Log out and log back in for the group change to take effect.