mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-06 12:39:35 +02:00
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
11 lines
447 B
Bash
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
|