- Install docker on Debian-11 standalone VM
- Sleep
- Wake up
- The VM is stuck – both mouse and keyboard don’t work. I can only restart and then kill the VM.
After removing docker, the VM is normal.
- Remove docker
- Sleep
- Wake up
- The VM is normal
Install docker on Debian according to official doc
sudo mkdir -p /etc/apt/keyrings/
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Remove docker
sudo apt-get remove -y docker-ce docker-ce-cli containerd.io docker-compose-plugin