From 041e792bbfebc214e63630f1e2cfad4dff2a3803 Mon Sep 17 00:00:00 2001 From: Matt307082 Date: Wed, 10 Jul 2024 10:09:04 +0200 Subject: [PATCH] add user to docker group --- var/www/html/install-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/www/html/install-tests.sh b/var/www/html/install-tests.sh index f3c9fc5..c8f204d 100755 --- a/var/www/html/install-tests.sh +++ b/var/www/html/install-tests.sh @@ -17,6 +17,8 @@ echo "install docker" curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" apt-get install docker-ce +usermod -aG docker $USER && newgrp docker + echo "install tests packages for console" cd /var/www/html