How to install Docker and Docker Compose on Arch Linux The article provides instructions for installing Docker and Docker Compose on Arch Linux using the yay package manager. It outlines steps to install the packages, start the Docker service, and add the user to the Docker group to run commands without sudo. The guide also includes troubleshooting steps for enabling the service and rebooting if necessary. If you do not have yay installed, then follow these steps to install it first yay yay -S docker docker-compose sudo systemctl start docker.service If the above command throws an error, then do the following sudo systemctl enable docker.service reboot sudo groupadd docker sudo usermod -aG docker $USER newgrp docker