CyfroAgent

Deleting CyfroAgent

Fully remove CyfroAgent in five steps — stop and delete the container, remove the data volume, optionally delete the image, and clear it from the registered agents list.

The below steps will help you in deleting the CyfroAgent:

Step 1: Stop the Container

docker stop cyfro-agent

Note: Replace cyfro-agent with the name you provided to the CyfroAgent Docker container in case it was changed.

Step 2: Remove the Container

docker rm cyfro-agent

Note: Run this only after the container has been stopped successfully.

Step 3: Delete the Volume

docker volume rm cyfro-agent-data

Note: Required for a true uninstall. The volume is stored under /data/agent.

Step 4: Delete the Image

docker rmi cyfrosec/cyfro-agent:latest

Note: To be executed only if docker images command lists cyfro-agent:latest.

Step 5: Remove from Registered Agents

Delete the respective agent name from the Registered Agents list in the CyfroAgent tab in the CyfroSec portal.