Running Docker Desktop on Linux Mint 20.3 on VMware Workstation Player

sudo apt-get remove docker docker-engine docker.io containerd runc -y
sudo apt-get install \ 
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
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
echo $(lsb_release -cs)
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo “$UBUNTU_CODENAME”) stable”
sudo apt-get update -y
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
sudo usermod -aG docker $(last|cut -d “ “ -f 1|sed -n 1p)
su - $USER
wget https://desktop.docker.com/linux/main/amd64/docker-desktop-4.9.1-amd64.deb
sudo dpkg -i docker-desktop-4.9.1-amd64.deb
sudo apt-get install qemu-system-x86
sudo apt --fix-broken install -y
docker run hello-world

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store