Adrien Audebert 97dda6805c update
2024-07-18 15:03:24 +02:00
2024-07-18 13:55:01 +02:00
2024-07-16 18:18:41 +02:00
2024-07-18 15:03:24 +02:00
2024-07-18 15:03:24 +02:00
2024-07-18 13:55:01 +02:00
2024-07-18 13:55:01 +02:00
2024-07-18 13:55:01 +02:00
2024-07-18 13:55:01 +02:00
2024-07-16 18:18:41 +02:00
2024-07-18 13:55:01 +02:00
2024-07-16 18:18:41 +02:00

Installing Docker and Docker Compose on Ubuntu

This guide will help you install Docker and Docker Compose on an Ubuntu system.

Prerequisites

  • A system running Ubuntu (preferably 20.04 LTS or later)
  • A user account with sudo privileges

Installing Docker

  1. Update the package index:
sudo apt update

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

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

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

sudo apt update

sudo apt install docker-ce

sudo systemctl status docker

sudo usermod -aG docker $USER

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker compose version

Description
No description provided
Readme 14 MiB
Languages
Python 42%
JavaScript 38.2%
HTML 9.7%
CSS 8.2%
Makefile 1.7%
Other 0.2%