mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Warn that Docker images will be removed
This commit is contained in:
parent
287e4a6f5d
commit
943f0ea2cb
@ -130,7 +130,10 @@ fi
|
||||
DOCKERPS=$(docker ps -a -q)
|
||||
if [[ $DOCKERPS > 0 ]]
|
||||
then
|
||||
echo "Removing old Docker instance... ($DOCKERPS)"
|
||||
echo "Removing old Docker instance(s)... ($DOCKERPS)"
|
||||
echo -e "\e[32m"
|
||||
read -p "Press any key to continue. Press CTRL+C to abort." -n1 -s
|
||||
echo -e "\e[0m"
|
||||
docker stop $DOCKERPS
|
||||
docker rm $DOCKERPS
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user