Skip to main content
Run this on the box:
It removes the ReCasaOS services, and asks what to do with your apps.

The questions

  1. Do you want delete all containers?
    • n: your apps’ containers keep running. It then asks Do you want to delete all images that are not used by the container?
    • y: every Docker container on this machine is removed, including containers not installed from the dashboard. It then asks Do you want delete all images? (every image on the machine) and Do you want delete all AppData of CasaOS?
Answering yes to delete all AppData deletes your apps’ data in /DATA/AppData. It cannot be undone: back it up first if you may need it.

What stays

  • Docker stays installed and running.
  • With n to the first question: the containers keep running, and /DATA/AppData keeps the apps’ data.
  • A merged /DATA (several drives) is unmounted whatever you answer: your data stays on the drives, but no longer shows under /DATA, and apps that restart see an empty folder.
  • /var/lib/casaos keeps the apps’ compose files and a few records; /etc/casaos is removed.
  • Optional modules are removed one by one (casaos module remove), after the containers and images and before the services. What a module needed stays on purpose, such as the virtual machines’ data in /DATA/VM; the uninstaller prints the commands that purge it, and does not run them.

How it was checked

On a Debian 12 virtual machine running ReCasaOS v0.5.266, answering n twice: every ReCasaOS service was removed, the app’s container kept running, /DATA/AppData and Docker stayed.