my-env/uninstall/docker
2023-02-01 22:29:02 +08:00

17 lines
334 B
Bash
Executable File

#!/bin/bash
##makedesc: Uninstall docker + ppa
echo
echo "==============================================="
echo "Uninstalling docker + ppa..."
echo "==============================================="
echo
sudo apt remove -y docker*
rm -rf \
/etc/apt/sources.list.d/docker.list \
/etc/apt/keyrings/docker.gpg
sudo apt update