Hello,
I installed hassio on raspbian through docker with this install script:
https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install
How can I uninstall it?
thanks
Hello,
I installed hassio on raspbian through docker with this install script:
https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install
How can I uninstall it?
thanks
stop and disable the systemd service, delete the service file, and use docker commands to remove the containers.
stop services:
sudo systemctl stop hassio-supervisor.service
sudo systemctl stop hassio-apparmor.service
disable services:
sudo systemctl disable hassio-supervisor.service
sudo systemctl disable hassio-apparmor.service
remove services:
sudo rm -rf /etc/systemd/system/hassio-supervisor.service
sudo rm -rf /etc/systemd/system/hassio-apparmor.service
removing folders:
sudo rm -rf /usr/sbin/hassio-supervisor
sudo rm -rf /usr/sbin/hassio-apparmor
remove docker stuff
for i in `docker ps --format '{{ .Names }}' | grep hassio`; do docker stop $i; docker rm -f $i; done
for i in `docker ps --format '{{ .Names }}' | grep addon`; do docker stop $i; docker rm -f $i; done
docker system prune -a
Thanks but the ` characters are invisible. It’s better to write it as code:
for i in `docker ps --format '{{ .Names }}' | grep hassio`; do docker stop $i; docker rm -f $i; done
for i in `docker ps --format '{{ .Names }}' | grep addon`; do docker stop $i; docker rm -f $i; done
docker system prune -a