As I have enabled and set nested virtualization in Proxmox, I’ll skip this part, I’ll write in when I have time.
- Create a Ubuntu VM, do not forget to set CPU type as “host”
- Set-up Docker’s apt repository by running the following codes
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -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 "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
- Download the latest DEB package
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/cloudflared.sh)"
- Navigate to the downloaded DEB package folder, right click, “Open in Terminal”
- Run the following codes
sudo apt-get install ./docker-desktop-amd64.deb
- If you encounter this error, “N: Download is performed unsandboxed as root, as file ‘/home/user/Downloads/docker-desktop.deb’ couldn’t be accessed by user ‘_apt’. – pkgAcquire::Run (13: Permission denied)”, just ignore it
- Start Docker Desktop and do not forget to enable it to run at startup