Update update-docker.sh
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Starting system update and Docker maintenance..."
|
||||
|
||||
# Update and upgrade APT packages
|
||||
echo "Running apt update & upgrade..."
|
||||
apt update
|
||||
apt upgrade -y
|
||||
echo "Starting Docker maintenance..."
|
||||
|
||||
# Pull latest images, stop containers, and recreate in detached mode
|
||||
echo "Pulling latest Docker images..."
|
||||
|
||||
Reference in New Issue
Block a user