From 789e87802f94e9fbf2cc7ca1973ad1364cd1217e Mon Sep 17 00:00:00 2001 From: kylecarbs Date: Mon, 27 Jun 2022 18:38:46 +0000 Subject: [PATCH] fix: Add coder user to docker group on installation This makes for a simpler setup, and reduces the likelihood a user runs into a strange issue. --- preinstall.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/preinstall.sh b/preinstall.sh index 932dab26b04f7..79614f195df5b 100644 --- a/preinstall.sh +++ b/preinstall.sh @@ -11,4 +11,14 @@ if ! id -u $USER >/dev/null 2>&1; then --user-group \ --shell /bin/false \ $USER + + # Add the Coder user to the Docker group. + # Coder is frequently used with Docker, so + # this prevents failures when building. + # + # It's fine if this fails! + usermod \ + --append \ + --groups docker \ + $USER 2>/dev/null || true fi pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy