In this video tutorial, we will learn how to install docker desktop on Ubuntu 24.04 LTS system step-by-step. Whether you're a developer or just curious about Docker, this tutorial will make the setup process smooth and easy.
Steps for Installing Docker Desktop
1. **Configure Unprivileged Namespaces**:
Ensure Docker Desktop runs properly by setting the required kernel parameter.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
2. **Update Your System**:
Install all available updates to keep your system updated.
sudo apt update
sudo apt upgrade -y
3. **Verify and Enable KVM Virtualization**:
Check if KVM virtualization is enabled since Docker Desktop relies on it.
lsmod | grep kvm
if not installed then run below commands
sudo modprobe kvm_intel // For Intel Processor
sudo modprobe kvm_amd // For AMD Processor
Add Your Local User to KVM Group
sudo usermod -aG kvm $USER
4. **Install Docker from Official APT Repository**:
Add Docker’s GPG key and repository.
sudo apt install ca-certificates curl -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubu... -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo systemctl status docker
sudo usermod -aG docker $USER
newgrp docker
5. **Download and Install Docker Desktop**:
Get the Docker Desktop `.deb` package from 'https://docs.docker.com/desktop/insta... and install it.
sudo apt install ./docker-desktop-*-amd64.deb
6. **Launch Docker Desktop**:
Start Docker Desktop from the application manager or via the command line.
sudo systemctl --user start docker-desktop
7. **Test Docker Desktop Installation**:
Confirm that Docker Desktop is working properly.
Follow along with this video for a hassle-free installation experience! Don't forget to like, comment, and subscribe for more tech tutorials.
#DockerDesktop #Ubuntu2404 #DockerInstallation #TechTutorial #UbuntuGuide
Смотрите видео How to Install Docker Desktop on Ubuntu 24.04 | Step-by-Step Guide онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LinuxTechi 12 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,29 раз и оно понравилось 3 людям.