Update within a Docker container

This article explains how to update Xopero ONE agents installed within Docker containers.

Keep your agent container up-to-date, to ensure optimal performance and access to the latest features and improvements.


Updating Xopero ONE agent

Replacing the agent

  1. Download the new image and remove the old container with the agent using the following command:

docker pull xopero/gitprotect-agent:latest
docker stop xopero-agent && docker rm xopero-agent
  1. Create a new container with the Xopero ONE agent:

docker run -d \
  --name xopero-agent \
  -e ManagementServiceUrl="<your_xopero_service_URL>" \
  -e XoperoOverriddenHostName="<device_name>" \
  -v /opt/gitprotect-agent/data:/app/Xopero \
  --restart unless-stopped \
  xopero/gitprotect-agent:latest
  • <your_xopero_service_URL>Xopero ONE Management Service address with the port (i.e., 123.456.7.890:28555)

  • <device_name> — custom Docker container name

  1. Once done, the Xopero agent should now be up to date.

Last updated