#!/bin/bash
set -euo pipefail

sudo pacman -S --noconfirm --needed docker docker-compose
sudo systemctl enable docker.service
sudo usermod -aG docker "$USER"
echo "Docker installed. Log out and back in for group membership to take effect."
