Skip to main content
Version: v2509

Uninstall

AIBooster internally uses docker compose. On all Linux nodes where you want to uninstall AIBooster, execute each command using the following procedure.

1. Stop and Remove Docker Containers

Execute the following command.

# For single node configuration or Agent nodes
docker compose -p "faib-agent" down

# For single node configuration or Server nodes
docker compose -p "faib-server" down

2. Delete Docker Volumes and Networks

warning

This operation will delete all data including performance metrics acquired by AIBooster and dashboards modified by users.

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

# For single node configuration or Server nodes
docker volume ls -q --filter name=^faib-server_.+-data$

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

# For single node configuration or Server nodes
docker volume rm $(docker volume ls -q --filter name=^faib-server_.+-data$)

Similarly, to delete networks, execute the following command.

# For single node configuration or Agent nodes
docker network rm $(docker network ls -q --filter name=^faib-agent_.+$)
# For single node configuration or Server nodes
docker network rm $(docker network ls -q --filter name=^faib-server_.+$)

3. Delete the Folder Containing Docker Compose Yaml

To delete the repository, documentation, and docker-compose definition files, execute the following command.

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

4. Delete Docker Images

To completely delete Docker images acquired by AIBooster, execute the following command.

# 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