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