Install Docker Engine Ubuntu 18.04

/ Comments off

Docker is an open-source platform for Building, Shipping and Running applications using container virtualization technology. Docker is a software package that simplifies the process of managing application processes in containers. Container technology refers to a lightweight, portable, resource friendly, stand-alone, executable package of a software that contains all the libraries, configuration files, dependencies, and other mandatory parts to operate the application. In this tutorial, learn how to Install Docker Engine on Ubuntu 18.04/20.04.


There are two versions of Docker:

  • Docker CE (Community Edition)
  • Docker EE (Enterprise Edition)

This tutorial explains how to install Docker CE, and has been tested on: Ubuntu 18.04 LTS; Ubuntu 18.10; Ubuntu 20.04 LTS; Uninstall old versions. Older versions of Docker were called docker, or docker-engine. If these are installed in your machine, uninstall them: sudo apt-get remove docker docker-engine containerd runc. To install Docker Engine, you need the 64-bit version of one of these Ubuntu versions: Ubuntu Hirsute 21.04; Ubuntu Focal 20.04 (LTS) Ubuntu Bionic 18.04 (LTS) Docker Engine is supported on x8664 (or amd64), armhf, arm64, and s390x architectures. Ubuntu 16.04 LTS “Xenial Xerus” end-of-life. Sep 15, 2021 Upgrade Docker Engine Install Docker Ubuntu 18.04 Server File. To upgrade Docker Engine, download the newer package file and repeat theinstallation procedure, pointing to the new file. Install using the convenience script. Install Docker on Ubuntu 18.04. By Jithin on January 20th, 2020. Install Docker on Ubuntu 18.04. Docker is a set of the platform as a service (PaaS) products that deliver software packages called containers. Docker’s containerization technology allows you to build, test, and deploy any applications quickly.

Install Docker Engine Ubuntu 18.04 Free

If you have a small-scale project, or you’re just learning, you can use Docker CE.


  • Ubuntu 18.04/20.04operating system
  • A user with root level privilege

Method:1.Install Docker on Ubuntu Using Ubuntu Official Repositories

It’s better to update the local database of software to make sure you’ve got access to the latest revisions.

Install docker engine ubuntu 18.04 full

To install Docker Engine on Ubuntu, in terminal window please enter the below command.

The below commands will start Docker and ensure that it starts after the reboot.

To verify the proper installation of Docker on Ubuntu, please enter the below commands.

Method:2. Install Docker on Ubuntu Using Docker Official Repositories

Let’s update the local repository and install prerequisite dependencies.

We need to add GPG Key to ensure that the software you are installing is authentic and install docker repository using below command.

Install Docker Engine Ubuntu 18.04Install Docker Engine Ubuntu 18.04

Once, Key and docker repository imported, update ubuntu local DB again.

You can simply install docker CE using below command.

To check docker version.

Method:3. Install Specific Version of Docker Engine (Optional)

Using below command list the available versions of Docker.


Install Docker Engine Ubuntu 18.04 64-bit

We will get the all available versions of Docker. To install specific version of docker, enter below command and replace that specific version here in highlighted text.


Hence, in this tutorial you leaned how to install Docker Engine on Ubuntu. I hope I helped… Thanks!!

Install Docker Engine Ubuntu 18.04 Download

Read Also: How To Install Jenkins on Ubuntu 20.04