Removing Ops Center Administrator when using Podman

Ops Center Administrator Getting Started Guide

Version
10.8.x
File Size
916 KB
Audience
anonymous
Part Number
MK-99ADM000-13

If your installation uses Podman as the container runtime, remove Ops Center Administrator as follows:

  1. From the command prompt, log in to the OS using the root account.
  2. Stop all containers by using the following commands:
    systemctl stop rainier
    systemctl disable rainier
  3. 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
  4. Remove all Podman images by using the following command:
    podman rmi $(podman images --format "{{.ID}} {{.Repository}}" | grep "rdocker:6000/" | awk '{ print $1 }')
  5. 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
  6. 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