Jafner.net/active projects/homelab/docs/Install Docker.md
2024-07-15 15:35:16 -07:00

17 lines
381 B
Markdown

Debian (and derivatives)
```bash
sudo apt update && sudo apt upgrade && \
sudo apt install git docker docker-compose && \
sudo systemctl enable docker && \
sudo usermod -aG docker $USER && \
logout
```
Arch (and derivatives)
```bash
sudo pacman -Syu && \
sudo pacman -S git docker docker-compose && \
sudo systemctl enable docker && \
sudo usermod -aG docker $USER && \
logout
```