Files
arthur-os/install/config/docker.sh
T
Ryan Hughes df1ea87331 Shrink docker.sh to runtime-only ops
The three Docker config files (etc/docker/daemon.json,
etc/systemd/system/docker.service.d/no-block-boot.conf,
etc/systemd/resolved.conf.d/20-docker-dns.conf) now ship via the
omarchy-settings package. The script keeps only the actions a static
file can't do:

- restart systemd-resolved so the new drop-in takes effect
- usermod -aG docker $USER (user-specific, can't be packaged)
- systemctl enable docker.socket and daemon-reload
2026-06-04 18:34:04 -04:00

11 lines
447 B
Bash

# Docker config files (daemon.json, resolved drop-in, no-block-boot drop-in)
# ship via omarchy-settings. This script only handles the runtime side:
# - reload systemd-resolved so the new drop-in takes effect
# - add the current user to the docker group
# - enable docker.socket and reload systemd unit files
sudo systemctl restart systemd-resolved
sudo systemctl enable docker.socket
sudo usermod -aG docker ${USER}
sudo systemctl daemon-reload