Installing Docker on Ubuntu 22.04

Overview

This is a simple step-by-step guide to install Docker on a Debian system.

Prerequisites

Installation Steps

  1. Update and upgrade packages and install curl:
apt update && apt upgrade -y && apt install curl -y
  1. Download and execute the Docker installation script using curl:
curl -sSL https://get.docker.com | CHANNEL=stable bash
  1. Verify your installation. If done correctly, you will see something similar to:
~ docker --version
> Docker version 24.0.2, build cb74dfc
~ docker compose version
> Docker Compose version v2.18.1

That's it, Docker is now installed :)


Revision #2
Created 28 August 2024 03:28:48 by Admin
Updated 28 August 2024 03:30:03 by Admin