If your installation uses Podman as the container runtime, remove Ops Center Administrator as follows:
- From the command prompt, log in to the OS using the root account.
-
Stop all containers by using the following commands:
systemctl stop rainier systemctl disable rainier
-
Remove all containers by using the following command:
podman rm -fv $(podman ps --format "{{.ID}} {{.Image}}" -a | grep "rdocker:6000/" | awk '{ print $1 }') 2>/dev/null - Remove all Podman images by using the following command:
podman rmi $(podman images --format "{{.ID}} {{.Repository}}" | grep "rdocker:6000/" | awk '{ print $1 }') -
Remove all Podman volumes by using the following commands:
podman volume rm nginx-certificates podman volume rm nginx-certificates-override podman volume rm nginx-confd podman volume rm nginx-log
- To remove the remaining files, run the following commands:
sudo rm -rf /opt/rainier sudo rm -rf /var/log/rainier-audit-log sudo rm -rf /var/logs/rainier-tool sudo rm -rf /var/logs/rainier-elastic-store sudo rm -rf /var/run/host-manager.sock sudo rm -f /etc/systemd/system/rainier.service