Install Docker

I use docker mainly because it gives me a cleaner environment and less trouble.

Content

Prerequisites

A PC or laptop running Ubuntu 22.04 is required.

What you will do.

Step 1: Install Docker

Install Docker

To install Docker follow the next steps:

StepAction
1Open a new terminal.
2Update the software list by typing: sudo apt update.
3Remove older versions of Docker by typing: sudo apt remove docker docker-engine docker.io.
4Install Docker: curl -sSL https://get.docker.com | sh.
5Make sure you will have root rights: sudo usermod -aG docker $USER.
6Controle the version of Docker Engine: sudo docker version. Must be versie 20.10.22 of higher.
7Restart your computer by tying: sudo reboot.

Summary

This guide explains how to install Docker on Ubuntu 22.04. It involves updating the system's package list, removing any existing Docker installations, installing Docker using a provided command, adding the user to the docker group, verifying the Docker version (must be 20.10.22 or higher), and rebooting the system. The author prefers Docker for a cleaner development environment.