Update within a Docker container

The only way to update an workerinstalled in a container is to remove the previous version and create a new one.

Download new image and remove the old container with the workerusing the command:

docker pull xopero/gitprotect-agent:latest
docker stop xopero-worker&& docker rm xopero-agent

And now create the new container with agent:

docker run -d \
  --name xopero-worker\
  -e ManagementServiceUrl="<your_gitprotect_service_URL>" \
  -e XoperoOverriddenHostName="<device_name>" \
  -v /opt/gitprotect-agent/data:/app/Xopero \
  --restart unless-stopped \
  xopero/gitprotect-agent:latest

Last updated