1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-20 04:59:27 +02:00

Update install.md

Added some steps in upgrading procedure.
This commit is contained in:
fabreg 2017-03-23 19:41:59 +01:00 committed by GitHub
parent 6fd13c96d0
commit 64a6e7d25e

View File

@ -67,6 +67,21 @@ Pull new images (if any) and recreate changed containers:
docker-compose pull docker-compose pull
docker-compose up -d --remove-orphans docker-compose up -d --remove-orphans
``` ```
In case this procedure does not work (for many reason like you're unable to fix the CONFLICTS or any other reasons) you can simply
copy mailcow.conf somewhere outside the mailcow-dockerized
stop docker: docker-compose down
delete the cloned directory
clone again the repo (git clone https://github.com/andryyy/mailcow-dockerized && cd mailcow-dockerized)
copy back your previous mailcow.conf into mailcow-dockerizd folder (pay attention to this step - the folder must have the same name of the previous one)
docker-compose pull
docker-compose up -d
*If you forgot to stop Docker before deleting the cloned directoy you can use these following command
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -a -q)
Clean-up dangling (unused) images and volumes: Clean-up dangling (unused) images and volumes: