mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-15 09:00:26 +08:00
[update.sh] Do not remove dangling volumes
This commit is contained in:
parent
86e86c7758
commit
94e5631662
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user