Linux Mint 19 Install Docker

Docker is really a very interesting platform that makes easy to operate server software virtually without installing on the physical bare-metal hardware or host operating system. It helps in deploying a container platform for common operating system on the server, developer or personal desktop PC.

In containers, each operating system has its own confined area which makes it safe to run without the interference of others on a single host operating system. And that operating could be any for what the Docker is available such as Linux Mint, CentOS, Ubuntu, Debian, Windows, etc.

Unfortunately, the official Docker documentation is very vast and not complicated for Docker noobies. Thus, here we are with one for Ubuntu or Linux Mint to easily understand and install it. Docker is available in two versions: The Community Edition which is open-source and anybody can use it. It has all the functions needed to operate containers and can be used on servers and on development and test machines. If you have enough knowledge of how it works you can easily use the community edition in production mode.

On the other hand, the Enterprise Edition is meant for large organizations those are running hundreds of containers and need enterprise support and some management functions along with the “Universal Control Plane,” there is a web interface for the cluster management solution for Docker running container infrastructure.

Feb 16, 2020 Linux Mint: I'm using Linux Mint 19.3 (Tricia) as my distribution. Install Docker These instructions are very similar to the ones posted in Docker's Documentation, there are going to be some differences specific to Linux Mint installation. Step 1: Install dependencies to use a repository over HTTPS; Step 2: Add the Docker's official GPG key. Jan 18, 2019 How can I install Docker CE on Linux Mint 19?, How can I install Docker Compose on Linux Mint 19? This guide will answer above questions by showing you a step by step installation of Docker and Docker Compose on Linux Mint 19. Docker has been the defacto container engine since its arrival.

Docker is a special tool that’s designed especially for easier creation, deployment, and running Linux apps using “containers”. Docker is a tool that’s meant to benefit the full set of modern IT and software development professionals including the newish field of DevOps. How to install and use Docker on Linux Mint is shown in this guide. Docker install on Linux Mint 19 Tara closed Ask Question Asked 2 years, 11 months ago. Active 2 years, 8 months ago. Viewed 16k times 21 7.

Install Docker and Docker composer on Linux Mint 19

Tutorial: The steps here are performed on the Linux Mint 19 to install Docker engine, however, they will be the same for Ubuntu 19.04, 18.04… elementary OS and other Ubuntu-based Linux operating system.

Update Linux Mint packages to the latest

First, of all run the system update command to make sure all the installed packages on the system are in their latest state. For that simply use the below command:

Linux Mint 19 Install Docker Windows 10

Install https protocol, curl and common properties

To install Docker and Docker compose on Linux Mint, we have to prepare it by installing some packages such to get the Docker packages on a secure protocol, we have to install https-transport along wth curl to download gpg key and software common properties to get some useful scripts to manage PPA and DBus backend. And also Gnupg-agent.

Import Docker GPG key

To make sure, we have installed Docker packages from the authentic source our system needs a key for Docker that used to sign its packages. Here we need the curl which we have installed above

Get the Docker repository for Linux Mint 19


The default repository of Linux Mint which comes from Ubuntu doesn’t feature Docker Packages and we need to add the official docker repository on our Linux Mint machine so that we can download and install docker using a single command.

Linux Mint 19 Install Docker Free

Install Docker Engine ( Compose, CLI and Container) on Linux Mint

Here is the single command to install complete Docker engine along with docker cli and

Configure Docker to start on boot

If you want the Docker service automatically starts with boot then enable its service in the system.

Test docker by install OS image

Here we are installing CentOS 7 latest available image of this server OS in docker hub by using docker pull command. To pull any software or OS image we should know its tag. You can find all the tags at

So, to install CentOS, the command is:

in the above command, the centos is the tag to fetch and install the latest docker image of this OS.

Run Docker Image on Linux Mint

To run any downloaded docker image follow the below command:

Other Tutorial:

As a full-time web developer, my daily task is to develop a website. Well, that's kinda obvious. But there are some skills required to support my main task:

  • Sysadmin. Stuffs like ssh, sudo, apt and so on.
  • Networking. Utilities like ping, nslookup, iptables etc.
  • A little hacking. Something like running MacOS on a non Mac devices.

Off course running my own server is fun, but there are times when I must spend a day or two to figure some misconfiguration. The application runs fine on my machine, but when it's deployed on server, something is broken. There's even a meme for this situation:

Well, ideally this shouldn't ever happened. It potentially waste our time as a developer. We should just focus on our development task and shouldn't troubleshooting server's environment.

Then I heard about this Docker container. My initial response is 'Wow, this is what I'm looking for. Let's try it.'

About Docker

As published on Wikipedia, Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. All containers are run by a single operating-system kernel and are thus more lightweight than virtual machines.

The software that hosts the containers is called Docker Engine. It was first started in 2013 and is developed by Docker, Inc. Docker Engine is available in Community Edition (CE) and Enterprise Edition (EE). We'll cover the installation of Docker Community Edition on Linux Mint 19 using below steps.

Update Local Packages and Install Dependencies

First, make sure our packages are up-to-date. Then, install all the packages used by Docker as dependencies. Open up a terminal and type this command:

Add Docker GPG Key and Repository

We need to add Docker GPG key used for signing Docker packages and add Docker upstream repository to our Linux Mint 19. This is necessary step so we can install the latest stable release of Docker.

Docker Installation


Linux Mint 19.2 Install Docker

Now is the main installation process. We will install the latest version of Docker CE and Docker Compose.

Update local package index:

Then install the latest version of Docker CE and Docker Compose:

Let's sit back and relax until this process completed. When it's completed, the docker group is created but no users are added. To be able to use Docker, add our normal user to the group to run Docker commands as non-privileged user.

To make this change effective, we need to log out and log back in so that our group membership is re-evaluated.

Linux Mint 19 Download

Verify Installation

Next step is verify that our installation is successful. Let's run a test Docker container:

It should show a shell like this:

If it does, congratulations, we've successfully installed Docker Community Edition on our Linux Mint 19.

Linux Mint 19 Install Docker

Final Words

Linux Mint 18.3

Well, that's it. I hope that you now know how to install Docker Community Edition on Linux Mint 19 (19 Tara, 19.1 Tessa, 19.2 Tina). If you run into any issues or have any feedback feel free to drop a comment below.