Update update-docker.sh
This commit is contained in:
+1
-3
@@ -1,12 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "\n>>> Starting Docker maintenance...\n"
|
||||
|
||||
# Pull latest images, stop containers, and recreate in detached mode
|
||||
echo -e "\n>>> Pulling latest Docker images...\n"
|
||||
docker compose pull
|
||||
|
||||
echo -e "\n>>> Stopping and removing existing containers...\n"
|
||||
echo -e "\n>>> Stopping existing containers...\n"
|
||||
docker compose down
|
||||
|
||||
echo -e "\n>>> Starting containers in detached mode...\n"
|
||||
|
||||
Reference in New Issue
Block a user