I've put the cluster file to /home/oleg/work/fdb/devops/clusters/joshua/fdb.cluster
When I try to start agent in the docker container with mounting a volume to /opt/joshua, I receive error No cluster file found in current directory or default location
docker run --rm --security-opt label=disable -v /home/oleg/work/fdb/devops/clusters/joshua:/opt/joshua -it foundationdb/joshua-agent:latest
The reason is setting environment variable ENV FDB_CLUSTER_FILE=/etc/foundationdb/fdb.cluster instead of ENV FDB_CLUSTER_FILE=/opt/joshua/fdb.cluster So joshua does not read the cluster file from /opt/joshua
I've put the cluster file to
/home/oleg/work/fdb/devops/clusters/joshua/fdb.cluster
When I try to start agent in the docker container with mounting a volume to /opt/joshua, I receive error
No cluster file found in current directory or default location
The reason is setting environment variable
ENV FDB_CLUSTER_FILE=/etc/foundationdb/fdb.cluster
instead ofENV FDB_CLUSTER_FILE=/opt/joshua/fdb.cluster
So joshua does not read the cluster file from /opt/joshua