[update.sh] Do not remove dangling volumes

This commit is contained in:
andryyy 2017-07-08 09:16:23 +02:00
parent 86e86c7758
commit 94e5631662

View File

@ -129,9 +129,6 @@ docker-compose up -d --remove-orphans
if [[ ! -z $(docker images -qf "dangling=true") ]]; then
docker rmi -f $(docker images -qf "dangling=true" -q)
fi
if [[ ! -z $(docker volume ls -qf dangling=true) ]]; then
docker volume rm $(docker volume ls -qf dangling=true)
fi
#echo "In case you encounter any problem, hard-reset to a state before updating mailcow:"
#echo