Can't Remove Docker Containers

The script is saying exactly what it does. So you just have to revert that.

Simply do the following:

stop services

(thanks @IcyMidnight)

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 hassio folders (except the config folder)

sudo rm -rf /usr/sbin/hassio-supervisor
sudo rm -rf /usr/sbin/hassio-apparmor

Now delete the remaining docker images like you always do.
.
.
.
.

If you want to delete your Home Assistant config files,

Do the following, but be carefull! Your config is lost forever:

sudo rm -rf /usr/share/hassio/

31 Likes