You might need to remove Elastic Cloud Enterprise for one of the following reasons:
- If the installation process does not complete successfully and you cannot troubleshoot the issue successfully.
- If you are de-provisioning a host and want to remove the installed Elastic Cloud Enterprise software.
You remove Elastic Cloud Enterprise by removing all Docker containers on the host:
docker rm -f frc-runners-runner frc-allocators-allocator $(docker ps -a -q); sudo rm -rf /mnt/data/elastic/* && docker ps -a
Planning to reinstall Elastic Cloud Enterprise on the host? Make sure you delete the runner from the Cloud UI first, if you haven’t already. Reinstallation can fail if the runner is still associated with your Elastic Cloud Enterprise installation.