Creating a worker node gateway container
Install docker
git clone GitHub - stfc/grid-workernode
cd xrootd
run “sudo docker build -t xrootd-gateway .”
ensure the correct files are present in /etc/gateway (copy from a workernode)
“/usr/bin/docker run --rm --name=xrootd-gateway --memory=4g --user=xrootd:xrootd -v /etc/gateway/xrootd-gateway.cfg:/etc/xrootd/xrootd-ceph.cfg:ro -v /etc/gateway/xrd_cephsum.sh:/etc/xrootd/xrd_cephsum.sh:ro -v /etc/gateway:/etc/gateway:ro -v /etc/gateway/ceph:/etc/ceph:ro -v /usr/bin/xrootd-health-gateway:/usr/bin/xrootd-health-gateway --pids-limit=2000 --health-cmd=/usr/bin/xrootd-health-gateway --health-interval=180s --health-retries=2 --health-timeout=10s xrootd-gateway”