From 8319cd6a6abf5c35b6fb12559578a209c14db37e Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Wed, 8 Mar 2023 11:38:53 -0500 Subject: [PATCH] installing docker does not create docker group --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6c6094d..6e92eb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,6 @@ RUN groupadd -r -g 116 jenkins RUN useradd -r -u 111 -g 116 -d /var/lib/jenkins -M -N jenkins +RUN groupadd docker + RUN usermod -aG docker jenkins