How to install Docker

Here is an easy way to install Docker.

STEP 1. Download and install docker with the following command.

curl -fsSL https://get.docker.com/ | sh

STEP 2. Start docker.

systemctl start docker

STEP 3. By default, the Docker won’t start after rebooting your machine. To make sure that it starts every time after reboot – use the following command.

systemctl enable docker

NOTE: If this method doesn’t work on your distribution, check the official documentation.

Powered by BetterDocs