From 4d9b4966f5a497183670c31a32e1e578a5f30f5f Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 6 Mar 2017 10:54:09 +0100 Subject: [PATCH] Add clean-up and some more info for update --- docs/install.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 7423f8887..3b7609450 100644 --- a/docs/install.md +++ b/docs/install.md @@ -38,7 +38,7 @@ The database will be initialized right after a connection to MySQL can be establ # Update mailcow There is no update routine. You need to refresh your pulled repository clone and apply your local changes (if any). Actually there are many ways to merge local changes. Here is one to -stash all local changes, pull changes from the remote master branch and apply your stash on top of it: +stash all local changes, pull changes from the remote master branch and apply your stash on top of it. You will most likely see warnings about non-commited changes; you can ignore them: ``` # Stash local changes @@ -56,3 +56,9 @@ docker-compose pull docker-compose up -d --remove-orphans ``` +Clean-up dangling (unused) images and volumes: + +``` +docker rmi -f $(docker images -f "dangling=true" -q) +docker volume rm $(docker volume ls -qf dangling=true) +``` \ No newline at end of file