mirror of
https://github.com/Zerodya/dockeraise.git
synced 2026-06-21 02:00:05 +07:00
Update dockeraise.sh
This commit is contained in:
+4
-2
@@ -8,9 +8,9 @@ fi
|
||||
|
||||
# Install dependencies
|
||||
echo "[:] Updating repositories..."
|
||||
sudo apt-get update > /dev/null
|
||||
apt-get update > /dev/null
|
||||
echo "[:] Installing dependencies..."
|
||||
sudo apt-get install \
|
||||
apt-get install \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
@@ -62,4 +62,6 @@ done
|
||||
|
||||
# Enable Docker service at startup
|
||||
systemctl start docker.service docker.socket containerd && systemctl enable docker.service docker.socket containerd > /dev/null
|
||||
echo "[+] Docker service started and enabled to run at boot."
|
||||
|
||||
echo "Process completed. Run 'systemctl status docker' to check Docker's status."
|
||||
|
||||
Reference in New Issue
Block a user