Skip to main content
Version: v2506

Uninstall

AIBooster uses docker compose internally. To uninstall AIBooster, execute the following commands on all Linux nodes where you want to uninstall AIBooster.

1. Stop and Remove Docker Containers

Execute the following commands:

# For single node configuration
docker compose -p "local" down

# For multi-node configuration/Agent nodes
docker compose -p "agent" down

# For multi-node configuration/Server node
docker compose -p "server" down

2. Remove Docker Volumes

Execute the following command to check the details of volumes that will be deleted by the subsequent command. If this list includes unintended volumes (volumes other than grafana-data, clickhouse-data), please select the volumes to delete appropriately and delete them individually.

# For single node configuration
docker volume ls -q --filter name=^local_.+-data$

# For multi-node configuration/Server node
docker volume ls -q --filter name=^server_.+-data$

To actually delete the volumes, execute the following command. Executing this command will delete all data collected by AIBooster.

# For single node configuration
docker volume rm $(docker volume ls -q --filter name=^local_.+-data$)

# For multi-node configuration/Server node
docker volume rm $(docker volume ls -q --filter name=^server_.+-data$)

3. Remove Folders Containing Docker Compose Yaml

To delete repositories, documentation, and docker-compose definition files, execute the following command:

# Common to all nodes
sudo rm -r /opt/aibooster

4. Remove Docker Images

To completely remove Docker images retrieved by AIBooster, execute the following commands:

# For single node configuration
docker images | grep -E \
'public.ecr.aws.*aibooster|prom/node-exporter|ghcr.io/intel/pcm|nginx' \
| awk '{print $3}' | xargs docker rmi
# For multi-node configuration/Agent nodes
ssh <Agent node address> -p <Agent SSH port> \
docker images | grep -E \
'public.ecr.aws.*aibooster|prom/node-exporter|ghcr.io/intel/pcm' \
| awk '{print $3}' | xargs docker rmi
# Server node
ssh <Server node address> -p <Server SSH port> \
docker images | grep -E \
'public.ecr.aws.*aibooster|nginx' \
| awk '{print $3}' | xargs docker rmi