summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-09 20:27:16 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-09 20:27:16 -0300
commit4e11e0e8681d40328bba0f2b8494d1c8f194a4bb (patch)
treec788fdb292ff7c0be7f8b26c765a3130a2d1ac3a
parentd6905469889a4168ff5953bef675c997a130c647 (diff)
Added docker as a secondary group
-rwxr-xr-xdocker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker.sh b/docker.sh
index c22291d..647201e 100755
--- a/docker.sh
+++ b/docker.sh
@@ -20,7 +20,7 @@ sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io
-sudo usermod -G docker $USER
+sudo usermod -aG docker $USER
sudo curl -L https://github.com/docker/compose/releases/download/v2.15.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose