Uninstall Elasticsearch (traditional)
To uninstall an Elasticsearch node on a server, uninstall Replicated.
- Stop the Replicated service: - service replicated-operator stop 
- Run this command: - docker ps -a | grep replicated | awk '{print $3}' | xargs docker rm -f
- Run this command: - docker images | grep replicated | awk '{print $3}' | xargs docker rmi -f
- Run this command: - rm -rf /var/lib/replicated* /etc/replicated* /etc/init/replicated* /etc/init.d/replicated* /etc/default/replicated* /var/log/upstart/replicate /etc/systemd/system/replicated* 
- Restart the Replicated service: - service docker restart