From 23b6cc7216ba595e3336b29867ec92dbb6269308 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 24 Sep 2019 13:44:55 +0200
Subject: [PATCH] #33 Document new command "reset"

---
 README.md        | 6 ++++++
 run/scripts/help | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ae5ed43..5f89cb4 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,12 @@ If you have chosen the LakeDrops Drupal 8 project template, type 'a d4d up' at t
 
 Just call `l3d selfupdate` and the start script will be updated from the original repository. This will also update all your existing **L3D** images and remove the outdated containers so that they will be recreated the next timne you're going to use them.
 
+## Resetting containers
+
+Sometimes the mounted volumes into existing containers will change, e.g. after a reboot on a Mac, the directory where the SSH-Agent stores their information will have gotten a different name. In such situations, starting one of the existing containers will throw error messages to the console. To resolve this, all L3D-related existing containers need to be rebuilt.
+
+You chould call `l3d reset` which cleans up all the related containers and prepares the system such that next call to L3D will rebuild those required containers from scratch. Note that removing containers will not remove their volumes. This is a good thing, because it makes sure that all your data will remain intact and will be used by the newly created containers just as before.
+
 ## Working with Git credentials
 
 In order to commit and push with git you have to at least configure your email address and username for the git client. If you configure those globally on your host, each of the **L3D** containers will inherit those settings and there is nothing that needs to be done inside the container.
diff --git a/run/scripts/help b/run/scripts/help
index 5eceede..13e7f67 100755
--- a/run/scripts/help
+++ b/run/scripts/help
@@ -6,5 +6,5 @@ echo ""
 echo "Version: ${VERSION}"
 echo "Support: https://gitlab.lakedrops.com/docker/l3d"
 echo ""
-echo "Usage:   l3d [ help | version | selfupdate | update | PROJECTNAME ]"
+echo "Usage:   l3d [ help | version | selfupdate | update | reset | PROJECTNAME ]"
 echo ""
-- 
GitLab