瀏覽代碼

Update 'Scanner/install_docker.sh'

Jose E. Rodriguez 3 月之前
父節點
當前提交
3409dd4c81
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Scanner/install_docker.sh

+ 2
- 2
Scanner/install_docker.sh 查看文件

@@ -1,6 +1,6 @@
1 1
 #!/bin/bash
2 2
 
3
-echo "🛠 Installing Docker and Docker Compose on Ubuntu..."
3
+echo "Installing Docker and Docker Compose on Ubuntu..."
4 4
 
5 5
 # Step 1: Remove older Docker versions (if any)
6 6
 sudo apt remove -y docker docker-engine docker.io containerd runc
@@ -38,7 +38,7 @@ sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin d
38 38
 sudo systemctl enable docker
39 39
 sudo systemctl start docker
40 40
 
41
-# Step 8: (Optional) Add current user to docker group (to avoid needing sudo)
41
+# Step 8:Add current user to docker group (to avoid needing sudo)
42 42
 if ! groups $USER | grep -q docker; then
43 43
     echo " Adding $USER to docker group..."
44 44
     sudo usermod -aG docker $USER