User Tools

Site Tools


docker

**This is an old revision of the document!**

Setting up Docker (and Docker Desktop) on Ubuntu

Sources

Prerequisites

  1. verify you have a GNOME-based desktop environment (Ubuntu Desktop is GNOME-based)
    1. if not install gnome-terminal - sudo apt install gnome-terminal
  2. verify you have KVM virtualization support - lsmod | grep kvm
    1. if kvm and kvm_<arch> is not listed check here
    2. ensure your user is part of the kvm group - sudo usermod -aG kvm $USER

Steps

  1. ensure apt-get is up to date - sudo apt-get update
  2. download the proper install for docker-desktop
    1. for Ubuntu this is a .deb file
      1. to make sense of the release names see https://wiki.ubuntu.com/Releases
      2. find the right directory for your CPU architecture via dpkg --print-architecture
      3. 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
      4. install the packages
        1. sudo dpkg -i \ ./containerd.io_<version>_<arch>.deb \ ./docker-ce_<version>_<arch>.deb \ ./docker-ce-cli_<version>_<arch>.deb \ ./docker-buildx-plugin_<version>_<arch>.deb \ ./docker-compose-plugin_<version>_<arch>.deb
docker.1742656933.txt.gz · Last modified: 2025/03/22 15:22 by ron

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki