Skip to main content
Version: v2508

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 or Agent nodes
docker compose -p "faib-agent" down

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

2. Remove Docker Volumes and Networks​

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 or Server nodes
docker volume ls -q --filter name=^faib-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 or Server nodes
docker volume rm $(docker volume ls -q --filter name=^faib-server_.+-data$)

For networks, if you want to delete them, execute the following commands:

# 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. 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