summaryrefslogtreecommitdiff
path: root/docker-debian.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker-debian.sh')
-rwxr-xr-xdocker-debian.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker-debian.sh b/docker-debian.sh
index 3c4c588..fd7b0a8 100755
--- a/docker-debian.sh
+++ b/docker-debian.sh
@@ -17,3 +17,10 @@ echo \
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
+
+sudo usermod -G docker $USER
+
+exec sg docker "newgrp `id -gn`"
+
+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