-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] Getting Started guide leads to "no such file or directory" fatal #352
Comments
I tried installing |
Anyway, when using This should be a limitation/issue of [1] - https://docs.openfeature.dev/docs/tutorials/getting-started/java/#step-6-rerun-the-application |
Alternatively, you can download flagd binary matching your system from the releases [1] and run it locally. The run command is simple : |
@PB-TW I'm not able to reproduce this on docker + Linux. Could you tell us what OS are you using? Can you try Can you also make sure that the flags.json file has the appropriate permissions and ownership? |
I'm using MacOS 13.2. The file is named correctly. Colima version is 0.5.2. I tried it with the I also don't think that the
I will try to download the flagd binary and run it next. |
The binary is sadly not usable on my system since it is not signed and therefore I may not open it on my Mac. Covered by: #328 |
I installed flagd via homebrew and ran But of course would be more happy to use it dockerized. |
I'm using macOS Ventura 13.2. I could not reproduce this issue, these are the steps I took:
|
Thanks a lot for the support! |
@PB-TW great news! Thanks for your interest in the project. Please don't hesitate to reach out if you need any more help or support, or you'd like to provide feedback. |
Change in the documentation
I was following this guide: https://docs.openfeature.dev/docs/tutorials/getting-started/java
In step 5, I create the
flags.json
file in my working directory and then I am running this command:docker run -p 8013:8013 -v $(pwd)/:/etc/flagd/ -it ghcr.io/open-feature/flagd:latest start --uri file:/etc/flagd/flags.json
This leads to the following stacktrace:
I tried several different ways, including moving the file around, making the path explicit etc.
When I run
docker inspect
, the volume looks correct to me.I am using Colima instead of Docker Desktop, if that is relevant.
Either the documentation is wrong or there is a bug in the latest version of flagd.
The text was updated successfully, but these errors were encountered: