docker
**This is an old revision of the document!**
Table of Contents
Setting up Docker (and Docker Desktop) on Ubuntu
Sources
Prerequisites
- verify you have a GNOME-based desktop environment (Ubuntu Desktop is GNOME-based)
- if not install gnome-terminal -
sudo apt install gnome-terminal
- verify you have KVM virtualization support -
lsmod | grep kvm- ensure your user is part of the kvm group -
sudo usermod -aG kvm $USER
Steps
- ensure apt-get is up to date -
sudo apt-get update - download the proper install for docker-desktop
- for Ubuntu this is a
.debfile -
- to make sense of the release names see https://wiki.ubuntu.com/Releases
- (24.04.2 LTS = “Noble Numbat” = https://download.docker.com/linux/ubuntu/dists/noble/pool/stable/)
- find the right directory for your CPU architecture via
dpkg --print-architecture - download the latest version of all install files
- containerd.io<version><arch>.deb
- docker-buildx-plugin<version><arch>.deb
- docker-ce-cli<version><arch>.deb
- docker-ce-rootless-extras…?
- not certain about this one; it's listed in the download site but not the docs
- docker-ce<version><arch>.deb
- docker-compose-plugin<version><arch>.deb
- install the packages
sudo dpkg -i ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb ./docker-buildx-plugin_*.deb ./docker-compose-plugin_*.deb
docker.1742657051.txt.gz · Last modified: 2025/03/22 15:24 by ron
