Removing Ops Center Administrator when using Docker

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 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 by using the following command:
    docker stop $(docker ps --format "{{.ID}} {{.Image}}" -a | grep "rdocker:6000/" | awk '{ print $1 }')
  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 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