From 64a6e7d25e1578001a37468692384fcbfc0693e7 Mon Sep 17 00:00:00 2001 From: fabreg Date: Thu, 23 Mar 2017 19:41:59 +0100 Subject: [PATCH] Update install.md Added some steps in upgrading procedure. --- docs/install.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/install.md b/docs/install.md index 1274ed84..d07ce390 100644 --- a/docs/install.md +++ b/docs/install.md @@ -67,6 +67,21 @@ Pull new images (if any) and recreate changed containers: docker-compose pull 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: