Created
October 1, 2022 09:08
-
-
Save wardvisual/0fd370dbdc19facad9a8afb27d4f1baa to your computer and use it in GitHub Desktop.
Install Docker on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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