Skip to content

Instantly share code, notes, and snippets.

@wardvisual
Created October 1, 2022 09:08
Show Gist options
  • Save wardvisual/0fd370dbdc19facad9a8afb27d4f1baa to your computer and use it in GitHub Desktop.
Save wardvisual/0fd370dbdc19facad9a8afb27d4f1baa to your computer and use it in GitHub Desktop.
Install Docker on Arch Linux
# Install the Official version of Docker on Arch
sudo pacman -Syu
sudo pacman -S docker
# Installing the development version of Docker on Arch
git clone https://aur.archlinux.org/docker-git.git
sudo pacman -S base-devel
cd docker-git/
makepkg -sri
# Starting the docker service on startup
sudo systemctl start docker.service
sudo systemctl enable docker.service
# Adding User to Docker group
# Note: Anyone added to the docker group is root equivalent, so make sure you trust the user that you are adding to the docker group.
sudo usermod -aG docker $USER
# Run docker
docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment