Removing Ops Center Administrator when using Docker

Ops Center Administrator Getting Started Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ADM000-20

If your installation uses Docker 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 and services by using the following command:
    docker stop $(docker ps --format "{{.ID}} {{.Image}}" -a | grep "rdocker:6000/" | awk '{ print $1 }')
    systemctl stop rainier-pipe
    systemctl disable rainier-pipe
  3. Remove all containers by using the following command:
    docker rm -fv $(docker ps --format "{{.ID}} {{.Image}}" -a | grep "rdocker:6000/" | awk '{ print $1 }')
  4. Remove all Docker images by using the following command:
    docker rmi $(docker images --format "{{.ID}} {{.Repository}}" | grep "rdocker:6000/" | awk '{ print $1 }')
  5. Remove all Docker volumes by using the following commands:
    docker volume rm nginx-certificates
    docker volume rm nginx-certificates-override
    docker volume rm nginx-confd
    docker volume rm nginx-log
  6. To remove the configuration files, run the following command:
    /opt/rainier/bin/rainier-config-remove
  7. To remove the remaining files, run the following commands:
    rm -rf /opt/rainier
    rm -rf /var/log/rainier-audit-log
    rm -rf /var/logs/rainier-tool
    rm -rf /var/logs/rainier-elastic-store
    rm -rf /var/logs/rainier-logs
    rm -rf /var/logs/rainier-ubi
    rm -rf /var/opt/rainier-ubi
    rm -f /etc/systemd/system/rainier-pipe.service