my-env/uninstall/docker

17 lines
334 B
Plaintext
Raw Normal View History

2022-08-25 04:40:21 +00:00
#!/bin/bash
2023-02-01 14:29:02 +00:00
##makedesc: Uninstall docker + ppa
2022-08-25 04:40:21 +00:00
echo
echo "==============================================="
2023-02-01 14:29:02 +00:00
echo "Uninstalling docker + ppa..."
2022-08-25 04:40:21 +00:00
echo "==============================================="
echo
2023-02-01 14:29:02 +00:00
sudo apt remove -y docker*
rm -rf \
/etc/apt/sources.list.d/docker.list \
/etc/apt/keyrings/docker.gpg
sudo apt update