When trying to install Docker Desktop on Linux the other day using the
.deb file and Eddy, I got this generic error code 100 (Sorry, I forgot to take a screenshot). And I could not figure out what it was.
This is my first real time at attempting to use a Linux distro as a workstation, and just assumed that there was no way I could get this to work for Pop!_OS. I then proceeded to install virt-manager.
However, today I tried again and attempted to install it using the terminal, which yielded more helpful results. I got this dependency error…
docker-desktop : Depends: docker-ce-cli but it is not installable
Now, you don’t have to install
docker-ce-cli, because the
docker-desktop package should install it for you. But you do have to add the Docker package repository to your system. Afterwards, the
.deb file installs as expected.
First install the Docker GPG key, following Docker’s guide. Notice that
apt-key is depreciated and no longer recommended.
sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Then add the repository.
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Finally, update the package lists.
sudo apt update
Now, you should be able to install the Docker Desktop
.deb package without issues.
Leave a Reply