Update README.md

This commit is contained in:
Pascal Vizeli 2019-05-23 09:37:14 +02:00 committed by GitHub
parent 7ab3b2c303
commit 6626854ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,8 +59,11 @@ curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/maste
- tinker - tinker
## !!!WARNING!!! DO NOT DELETE CREATED CONTAINERS ## !!!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. If you wish to still safelly use `docker containers prune` you might want to add the `--filter` flag to your command.
Example: Example:
```sh ```sh
$ docker container prune --filter label!=homeassistant $ 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*"] "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