Best way to install Docker on Linux

Install Docker

Open up https://get.docker.com/

This opens up a script to automaticaly install Docker on your machine

The first lines of of code in the script show you what to do to get this script and run it on your machine:

# This script is meant for quick & easy install via:
 # $ curl -fsSL get.docker.com -o get-docker.sh
 # $ sh get-docker.sh

Copy the code and paste on you terminal

 curl -fsSL get.docker.com -o get-docker.sh

then Copy and Paste on your terminal or simply run the script:

sh get-docker.sh

this will start the installation of Docker on you Linux machine.

Install Docker Machine

Go to https://github.com/docker/machine/releases to copy and paste the command to install Docker Machine.

This will allow you to always have the latest release of Docker Machine.

Install Docker Compose

Go to https://github.com/docker/compose/releases to copy and paste the command to install Docker Compose.

This will allow you to have the latest release of Docker Compose.

Start docker service

To start the docker service, run the following command:

systemctl start docker

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sidebar