DevOps Buzz


Cheat sheet

Completely remove a package (purge)

sudo pacman -Rns <name>

Error starting Docker

Stop and disable the docker service and socket
sudo systemctl stop docker.service
sudo systemctl disable docker.service
Uninstall Docker, delete /var/lib/docker and pid:
sudo pacman -Rsn docker
sudo rm -fr /var/lib/docker
sudo rm /run/docker.{pid,sock}
This should start you off fresh. Now:
sudo pacman -Syu docker
sudo usermod -aG docker $USER
sudo systemctl enable docker.service
sudo systemctl start docker.service