-
Notifications
You must be signed in to change notification settings - Fork 27
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
Deploying the basic image using docker desktop #275
Comments
Please clarify how you start the container. Are you actually mounting the config? |
well, i adapted my compose file a bit:
I am not sure about the MDBEXPORTER_CONFIG, PATH, SSL_CERT_FILE. Do I need to change the values or they can have the default config values?
|
Your MDBEXPORTER_CONFIG points to |
I changed every file extension to yml and i still get the same error. |
I doubt this relates to the exporter, you are rather have an error somewhere. If things still not work try start an ubuntu container with the same settings start a shell and execute |
yeah, it is more like a discussion now, but I would like to understand what I am doing wrong. Which is the easiest way to run the docker image on windows with the environments listed above? |
Describe the bug
I am trying to run the image using docker desktop, but after I set the env variables I get this error:
panic: open C:\DevEnv\mongodb-query-exporter\config.yaml: no such file or directory
I am running the docker desktop on windows. Does not matter what i set into the config path, i get this type of error.
To Reproduce
Start the image on windows 10?
Expected behavior
The docker starts properly.
Environment
The text was updated successfully, but these errors were encountered: