-
Notifications
You must be signed in to change notification settings - Fork 763
Description
Description
There are quite some reports of Docker storage corruption. Likely this is caused by power outages during a container image write, or possible also just bit rot.
Today, Docker does not have a built-in feature to validate the authenticity of the container image on-disk. There is also no command which reliably rewrites a complete image: Deleting a container image is not reliable as some of the layers can be shared with other container images. This means that if corruption is in a shared layer, even a delete and re-pull of a particular image is not a guarantee for corruption to overcome.
Today, the only way to recover from such situations is to reinstall Home Assistant OS from scratch. This is a bit tedious and also requires a backup restore.
It would be nice to have a feature which simply allows to remove the complete Docker storage, forcing the system to re-download container images.
Additional context
No response