Installation on Arch Linux
Docker is packaged in the official Extra repository; no third-party source (AUR) is needed. The command sudo pacman -S docker docker-compose installs the engine along with Compose v2, invoked via docker compose. If you need the advanced image builder, add the docker-buildx package.
In keeping with the Arch philosophy, nothing is enabled automatically: after installation, the service is present but stopped and disabled.
Service and permissions
Enable and start the engine in one command: sudo systemctl enable --now docker. Then check its status with sudo systemctl status docker. Without membership in the docker group, every command requires sudo; adding yourself to the group (sudo usermod -aG docker $USER, then log back in) removes this constraint but grants control equivalent to root.
Configuration and data
The optional daemon configuration goes in /etc/docker/daemon.json (create it if it does not exist), followed by sudo systemctl restart docker. Images, containers, and volumes live in /var/lib/docker, which can grow quickly: monitor disk space and periodically run docker system prune to free up room.