Install Docker Desktop on Linux Distros
Let's walk through the installation steps for docker desktop in Ubuntu.
System Requirements#
- Ubuntu Version: Docker Desktop is officially supported on Ubuntu 20.04 and later. Make sure your Ubuntu system meets the minimum requirements.
- At least 4GB of RAM and 10GB of HDD space.
- Skip this step if you are already using gnome-terminal otherwise you must install gnome-terminal to enable terminal access from Docker Desktop.
Installation Steps#
1. Download the latest DEB package.
2. Install the package using apt, go to the downloaded directory and run the command:
By default, Docker Desktop is installed at /opt/docker-desktop.
Note: At the end of the installation process, apt displays an error due to installing a downloaded package. You can ignore this error message.
Launch Docker Desktop#
To start Docker Desktop for Linux:
- Navigate to the Docker Desktop application in your applications.
- Select Docker Desktop to start Docker.
- The Docker Subscription Service Agreement displays.
- Select Accept to continue. Docker Desktop starts after you accept the terms.
- Note that Docker Desktop won't run if you do not agree to the terms. You can choose to accept the terms at a later date by opening Docker Desktop.
Alternatively, open a terminal and run:
After you’ve successfully installed Docker Desktop, you can check the versions of these binaries by running the following commands:
Conclusion#
Installing Docker Desktop on Ubuntu is a straightforward process when system requirements are met. Once installed and launched, Docker Desktop provides a complete local container development environment with Docker Engine and Docker Compose ready to use. Verifying the installation through version commands ensures that your setup is correctly configured and operational. Follow Linux | Docker Docs to know about the installation steps for other Linux distros.