Running Xopero ONE Agent On Docker
This article describes how to install and configure Xopero ONE agent application running as a container on Docker.
Deployment
To set up Xopero ONE worker as a container on Docker, download the Xopero ONE worker docker image.
Download:
Or simply use images available on the DockerHub.
docker pull xopero/gitprotect-agent:latest
Create an additional directory on the host where the Xopero ONE service container databases will be stored (available on the container in the /app/Xopero location) to store the databases outside the container:
mkdir -p /opt/gitprotect-agent/data
Now we can run the container with correct volume mounting and environment variables:
docker run -d \
--name xopero-agent \
-e ManagementServiceUrl="<your_xopero_one_service_URL>" \
-e XoperoOverriddenHostName="<device_name>" \
-v /opt/gitprotect-agent/data:/app/Xopero \
--restart unless-stopped \
xopero/gitprotect-agent:latest
To make sure the container is working properly, use:
docker ps
Agent activation
After all the steps have been completed, the agent will report to the Management Service panel as an agent for activation.
Last updated