Uninstall hassio

I installed hassio on raspbian through docker with this install script:


How can I uninstall it?

1 Like

stop and disable the systemd service, delete the service file, and use docker commands to remove the containers.

1 Like
  1. stop services:
    sudo systemctl stop hassio-supervisor.service
    sudo systemctl stop hassio-apparmor.service

  2. disable services:
    sudo systemctl disable hassio-supervisor.service
    sudo systemctl disable hassio-apparmor.service

  3. remove services:
    sudo rm -rf /etc/systemd/system/hassio-supervisor.service
    sudo rm -rf /etc/systemd/system/hassio-apparmor.service

  4. removing folders:
    sudo rm -rf /usr/sbin/hassio-supervisor
    sudo rm -rf /usr/sbin/hassio-apparmor

  5. 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