Skip to main content

Running the Install Script

Docker provides a convenient script for quickly installing their software and getting it ready. 

You can find the official Docker installation guide on their website.

 

Preparation

First, we need to open our terminal to install a small application called curl that can be used to download files through the terminal.

Enter this command and hit enter to automatically install the curl software:

sudo apt-get install -y curl

You will be prompted to enter your password.

image.png

image.png

 

Installation

Now, enter the following command to use curl to download the script that installs Docker and it's dependencies:

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

image.png

Once the download is complete, you can enter this command to run the script we just downloaded:

sh get-docker.sh

image.png

The Docker setup process should proceed automatically and prompt you about further actions once it's finished.  We do not need to follow these additional instructions.

image.png

We have successfully installed the Docker Container Engine on our server.