Docher

How to Install and Configure Docker on Ubuntu 20.04

How to Install and Configure Docker on Ubuntu 20.04
Docker is a container based on the “Platform as a Service” software application. Docker uses virtualization technology to provide isolated containers for software and tools. These containers use well-defined channels to communicate with each other. This article will show you the easiest way to install Docker on Ubuntu 20.04 and get it running in less than 5 minutes.

This simple tutorial will show you how to download Docker, enable or disable Docker upon system reboot/startup, and change usage permissions for users in six easy steps.

Step 1: Update APT

As always, first, update and upgrade your APT.

$ sudo apt update

$ sudo apt upgrade

Step 2: Download and Install Docker

Enter the following command to download and install the Docker package.

$ sudo apt install docker.io

Step 3: Launch Docker

Start Docker and enter the following command to enable it after every time the system reboots.

$ sudo systemctl enable --now docker

To disable it again, simply type in the following command.

$ sudo systemctl disable --now docker

Step 4: Set User Privileges

This step will show you how to give privileges to any user with Docker. You can replace “younis” with the user account you are giving permission.

$ sudo usermod -aG docker younis

Step 5: Check Docker Version

You can check the version of Docker with the following command.

$ docker --version

Step 6: Test Docker

Test Docker by running the following command, which will open a container to run the Hello World command.

$ docker run hello-world

Conclusion

Docker is a very useful tool for working with third-party software tools, as it establishes well-defined and secure channels for communication. Because it is so useful, Docker is becoming more popular day by day.

Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...
How to reverse Mouse and Touchpads scrolling direction in Windows 10
Mouse and Touchpads not only make computing easy but more efficient and less time-consuming. We cannot imagine a life without these devices, but still...
How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...