docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker [2025/03/23 13:14] – ron | docker [2025/04/13 16:22] (current) – removed ron | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # Setting up Docker (and Docker Desktop) on Ubuntu | ||
| - | ## Sources | ||
| - | * https:// | ||
| - | ## 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` | ||
| - | - if `kvm` and `kvm_< | ||
| - | - ensure your user is part of the kvm group - `sudo usermod -aG kvm $USER` | ||
| - | |||
| - | ## Install Steps | ||
| - | - ensure apt-get is up to date - `sudo apt-get update` | ||
| - | - download the proper install for docker-desktop | ||
| - | - for Ubuntu this is a `.deb` file | ||
| - | - https:// | ||
| - | - to make sense of the release names see https:// | ||
| - | - (24.04.2 LTS = "Noble Numbat" | ||
| - | - find the right directory for your CPU architecture via `dpkg --print-architecture` | ||
| - | - https:// | ||
| - | - download the latest version of all install files | ||
| - | * containerd.io_< | ||
| - | * docker-buildx-plugin_< | ||
| - | * docker-ce-cli_< | ||
| - | * docker-ce-rootless-extras...? | ||
| - | * not certain about this one; it's listed in the download site but not the docs | ||
| - | * docker-ce_< | ||
| - | * docker-compose-plugin_< | ||
| - | - install the packages | ||
| - | - `sudo dpkg -i ./ | ||
| - | |||
| - | ## Startup and Verify Docker | ||
| - | - `sudo service docker start` | ||
| - | - verify with a hello-world container | ||
| - | - `sudo docker run hello-world` | ||
| - | - configure to start on boot | ||
| - | - `sudo systemctl enable docker.service containerd.service` | ||
| - | |||
| - | ## Configure Docker Logging | ||
| - | - `vi etc/ | ||
| - | - add logging config per https:// | ||
docker.1742735688.txt.gz · Last modified: 2025/03/23 13:14 by ron
