Docker Installation under Ubuntu 24.04
This article shows the instructions for the installation of the 24.04 docker under Ubuntu.
Updating of package sources
sudo apt update sudo apt install apt-transport-https curl curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update
Installation of docker
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verification
root@js-pandoc-01:/etc/apt/keyrings# systemctl is-active docker
active
root@js-pandoc-01:/etc/apt/keyrings# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete
Digest: sha256:1408fec50309afee38f3535383f5b09419e6dc0925bc69891e79d84cc4cdcec6
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
More information
- Install Docker Engine on Ubuntu (docs.docker.com)
- How to Install Docker on Ubuntu 24.04 LTS: A Step-by-Step Guide (linuxiac.com, 03.05.2024)
|
Translator: Alina Ranzinger Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.
|
Related articles
InfluxDB2 + Grafana Configuration of a metric server for Proxmox VE
InfluxDB2 + Grafana Docker Container Installation in Ubuntu
Installation of Reverse Proxy for n8n with Nginx Proxy Manager

