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 bionic stable"
sudo apt update
apt-cache policy docker
# Docker installation
sudo apt install docker
sudo systemctl enable docker
sydo systemctl start docker
# Add the current user to the docker group
sudo usermod -aG docker $ {USER}

Previous Post Next Post

Installing Docker on Linux