From 6626854ba8a639685a511b7e506a056cfe616d0b Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 23 May 2019 09:37:14 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 63f873d..21ba1d7 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,11 @@ curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/maste - tinker ## !!!WARNING!!! DO NOT DELETE CREATED CONTAINERS -This installer will create the base `homeassistant` container for you, but if you delete if (`docker rm` or `docker prune`) the supervisor will not be able to re-create it for you. + +This installer will create the base `homeassistant` container for you, but if you delete if (`docker rm` or `docker prune`) the supervisor will not be able to re-create it for you. Hass.io is a Eco System and Container Orchastrator they don't support manual adjustments. + If you wish to still safelly use `docker containers prune` you might want to add the `--filter` flag to your command. + Example: ```sh $ docker container prune --filter label!=homeassistant @@ -71,10 +74,3 @@ or, for a greater peace of mind, you can add the following config to your `~/.do "pruneFilters": ["label!=homeassistant", "label!=hassio_supervisor", "label!=addon*"] } ``` - -### Ouch, I deleted it, and now what? -If you accidentally deleted the `homeassistant` container, and now it's not coming back, you will need to run this installer again. If that didn't work, you will need to manually reset your docker environment and run the installer again: -- stop docker deamon -- rm -fr /var/lib/docker/* -- start docker deamon -- run installer again