Refer: https://askubuntu.com/questions/1409192/cannot-install-docker-desktop-on-ubuntu-22-04
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
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
sudo apt update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
Download current version: https://docs.docker.com/desktop/install/ubuntu/
sudo apt-get install ./docker-desktop-<version>-<arch>.deb
Note: At the end of the installation process, apt displays an error due to installing a downloaded package. You can ignore this error message.
N: Download is performed unsandboxed as root, as file '/home/user/Downloads/docker-desk
It does not seem to start correctly, using this hack:
Refer: https://github.com/docker/desktop-linux/issues/94
Had to close and launch it twice, to see the application properly, it might have hung, start without logon; however additional reading said the start-up process could take some time. You might want to skip this step until you generate the keys.
/opt/docker-desktop/bin/com.docker.backend
Original Docker Desktop Target that DID NOT WORK
Menu Libre Command
/opt/docker-desktop/bin/docker-desktop
You also need to generate keys before you can logon
Refer: https://docs.docker.com/desktop/get-started/#credentials-management-for-linux-users
gpg --generate-key
You'll need to grab the generated public key from the above command, to use with pass init command, as follows:
pass init <your_generated_gpg-id_public_key>
