{"slug": "how-to-install-docker-and-docker-compose-on-arch-linux", "title": "How to install Docker and Docker Compose on Arch Linux", "summary": "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.", "body_md": "If you do not have yay\ninstalled, then follow these steps to install it first\nyay\nyay -S docker docker-compose\nsudo systemctl start docker.service\nIf the above command throws an error, then do the following\nsudo systemctl enable docker.service\nreboot\nsudo groupadd docker\nsudo usermod -aG docker $USER\nnewgrp docker", "url": "https://wpnews.pro/news/how-to-install-docker-and-docker-compose-on-arch-linux", "canonical_source": "https://gist.github.com/kashifulhaque/3d56028729c29f9d6a353a6615d1beb9", "published_at": "2023-12-02 15:22:27+00:00", "updated_at": "2026-05-23 11:37:28.083763+00:00", "lang": "en", "topics": ["developer-tools", "open-source"], "entities": ["Docker", "Docker Compose", "Arch Linux", "yay"], "alternates": {"html": "https://wpnews.pro/news/how-to-install-docker-and-docker-compose-on-arch-linux", "markdown": "https://wpnews.pro/news/how-to-install-docker-and-docker-compose-on-arch-linux.md", "text": "https://wpnews.pro/news/how-to-install-docker-and-docker-compose-on-arch-linux.txt", "jsonld": "https://wpnews.pro/news/how-to-install-docker-and-docker-compose-on-arch-linux.jsonld"}}