Skip to content

Commit 392cd17

Browse files
committed
move docker groupadd to the end
1 parent 5c5b4e2 commit 392cd17

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/setup_host.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ sudo apt update
2626
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
2727
#END OFFICIAL DOCKER INSTALL
2828

29-
sudo groupadd docker
30-
sudo usermod -aG docker $USER
31-
newgrp docker || true
29+
3230

3331
#INSTALL NVIDIA DOCKER
3432
#https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
@@ -55,3 +53,7 @@ echo "you may need to restart your machine"
5553
#INSTALL PIXI
5654
curl -fsSL https://pixi.sh/install.sh | bash
5755
echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc
56+
57+
sudo groupadd docker
58+
sudo usermod -aG docker $USER
59+
newgrp docker || true

0 commit comments

Comments
 (0)