To remove the Remote Ops Agent running as a Docker container, follow these steps.
-
Stop and remove the container:
docker compose down
-
Go to the data volume and back it up or remove it:
- Back up the data volume using the tar command,
- To remove the data
volume:
docker volume rm hro-agent_hro-agent-data
Note: The volume name on the disk is prefixed with the Compose project name (project_hro-agent-data).The beginning of the name will be different if the Compose app was renamed from hro-agent via the top-level name: field in docker-compose.yml, or in the deployment directory name).
Run the following command to confirm the exact name before deleting it:docker volume ls | grep hro-agent-data
Note: Removing the data volume permanently deletes all configuration, database records, and logs. This action cannot be undone. To preserve data for future use, skip this step. -
Remove the Docker image (optional):
docker rmi hro-agent:version