(: September 21, 2019)

How can I install Docker on Ubuntu 18.04/19.04/16.04 Linux distribution. Docker Engine is a container runtime engine which allows you to package your applications with all of its dependencies into a standardized unit for software development and distribution.

The Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.

Let’s install Docker on Ubuntu 19.04/18.04/16.04 by following the few steps below.

.td_uid_2_5d90a355e4ec1_rand.td-a-rec-img{text-align:left}.td_uid_2_5d90a355e4ec1_rand.td-a-rec-img img{margin:0 auto 0 0}

Step 1: Update System

Ensure your system is updated.

sudo apt -y update

Step 2: Install basic dependencies

There are few dependencies we need to configure Docker repositories and do the actual package installation. Install them by firing the following commands in your terminal.

sudo apt -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Step 3: Install Docker CE on Ubuntu 18.04/19.04/16.04

If you have older versions of Docker, remove it and its dependent packages.

sudo apt remove docker docker-engine docker.io containerd runc

Import Docker repository GPG key:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add Docker CE repository to Ubuntu:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

Finally install Docker CE on Ubuntu 18.04/19.04/16.04:

sudo apt update
sudo apt -y install docker-ce docker-ce-cli containerd.io

Add your user account to docker group.

sudo usermod -aG docker $USER
newgrp docker

Verify installation by checking Docker version:

$ docker version
Client: Docker Engine - Community
 Version:           19.03.2
 API version:       1.40
 Go version:        go1.12.8
 Git commit:        6a30dfc
 Built:             Thu Aug 29 05:29:11 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.2
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.8
  Git commit:       6a30dfc
  Built:            Thu Aug 29 05:27:45 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Step 4: Install Docker Compose on Ubuntu 18.04/19.04/16.04

Installation of Docker Compose is optional. For those using it, follow our guide below to install.

How To Install Latest Docker Compose on Linux

More articles:

Install Docker UI manager – Portainer

Ctop – Top command for container metrics

How to Setup Docker Private Registry on Ubuntu 18.04 / Ubuntu 16.04 with Letsencrypt

Install and Configure Docker Registry on CentOS 7

How To Deploy Lightweight Kubernetes Cluster in 5 minutes with K3s

.td_uid_4_5d90a355e5138_rand.td-a-rec-img{text-align:left}.td_uid_4_5d90a355e5138_rand.td-a-rec-img img{margin:0 auto 0 0}
  • Consensus 2017: CME Group, UK Royal Mint Detail Plans for Blockchain Gold
  • Securities Laws Aren’t the Only Rules Token Sales Have to Consider
  • ZipZap Raises $1.1 Million to Grow Global Bitcoin Payments Network
  • FreeBSD or BSD reboot and shutdown system
  • Meet Honeyminer: The App That Lets You Earn Bitcoin With a Laptop Again
  • New Bitcoin Poll Shows Bubble Fears Among Investors
  • SBI, R3 Team Up to Promote Adoption of Corda Blockchain in Japan
  • Bitcoin’s Price Climbs Above $8,000 to Hit New High
  • Bank Blockchain Integration: A Challenge Overcome
  • MegaBigPower: 2014 Was a Game Changer for Bitcoin Mining
  • Korean Government Seeks to Strip Tax Perks From Crypto Exchanges
  • SWIFT Teams Up With Major Banks, SGX to Trial Blockchain Voting
  • Consensus 2017: Enterprise Ethereum Alliance Puts Blockchain Privacy Into Focus
  • CoinJar Tackles Bitcoin’s Volatility with New ‘Hedged Accounts’
  • BitFury Eyes Bitcoin Mining Advantage With Immersion Cooling Acquisition
  • SXI LLC Company
    SXI.IO is a global Blockchain software company, specialized in developing white label crypto exchange platforms , Wallet platforms, ICO platforms, Token Erc20 .....
    Fully Managed VPS Fully Managed VPS Fully Managed VPS

    You Might Also Enjoy NewS Post

    Best Free Web Hosting 2020

    Free Hosting 1GB $0.00 USD/mo Disk space 1GB Traffic 10GB/Month Domains 2 Plesk Cpanel Databases 10 Free 12 Month https://my.sxi.io/cart.php?a=add&pid=196

    02/05/2020 READ MORE