hello, i am in windows trying to launch the cerbos...
# community
d
hello, i am in windows trying to launch the cerbos container, as per the instructions here, https://docs.cerbos.dev/cerbos/latest/installation/container.html?_gl=1*1w5tfam*_gcl[…]352137771.8&__hssc=67209934.1.1736352137771&__hsfp=3102291484, i am overriding the policies location. Here is my docker command: docker run --rm --name cerbos -p 3592:3592 -p 3593:3593 -v "C:\Users\dpandya\OneDrive - Flexiti Financial\Documents\dev\cerbos-data\conf":/cerbos-data/conf -v "C:\Users\dpandya\OneDrive - Flexiti Financial\Documents\dev\cerbos-data\policies":/cerbos-data/policies ghcr.io/cerbos/cerbos:latest server --config=/cerbos-data/conf/conf.yaml. I keep getting the error, failed to stat /cerbos-data/conf/conf.yaml: stat /cerbos-data/conf/conf.yaml: no such file or directory. But when i remove the --config from the docker run command, the container does start up and i can see the mounts and the config file is indeed there. Is this an issue of the cerbos trying to load the yaml before the docker has mounted the volume?
c
It's probably a file permissions issue. I don't know how Docker on Windows maps file system permissions between Windows and Linux but it sounds like the cerbos process inside the container doesn't have enough permissions to read the file.