feat: enable adding alloy to docker group

This commit is contained in:
Kasper Juul Hermansen 2025-01-11 13:25:38 +01:00
parent 0458a8228f
commit 03ff1e9b90
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM

View File

@ -166,6 +166,10 @@ fn run_and_activate_alloy() -> Result<(), String> {
run_command(["systemctl", "enable", "alloy"])?;
println!("=== finished enabling alloy ===");
println!("=== adding alloy to docker group ===");
run_command(["usermod", "-aG", "docker", "alloy"])?;
println!("=== finished adding alloy to docker group ===");
Ok(())
}