-
Notifications
You must be signed in to change notification settings - Fork 125
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
Problem when using example from device-sdk-go in docker-compose file #1206
Comments
ready_to_run_wait_install.sh is expecting your service binary is under the |
also have to have the proper volume mount setup. |
@tntthanh , You are missing the Is there a reason you are doing this with security enabled? |
@cloudxxx8 I run exactly as source does keep origin, but still got error, I check and try a lots on Dockerfile, but the problem is still not solved: "/edgex-init/ready_to_run_wait_install.sh: exec: line 41: /device-simple: not found". Please help me on Dockerfile or Makefile please, it's so complex on directory structure, I think. |
Other github sources, for example, for device service mqtt, custom app service, ... (for my example diagnose, built file not in the folder "example" as device-sdk), I can push them to docker hub and run it by docker-compose file very well |
device-simple is just a sample, and we didn't verify all kinds of deployment scenarios. |
Hi everyone,
I had built the example of device-sdk-go, had run locally perfectly via make-build execute file, and then pushed it to my docker hub, using it in my docker-compose file, along with other edgex-compose services (e.g: edgex-core-data, edgex-core-metadata,...). I had add "device-simple" into variables: ADD_KNOWN_SECRETS and ADD_SECRETSTORE_TOKENS in secretstore-setup. But, I got this error running the example service with the following log of the errors, please help me solve this:
"...
edgex-device-simple | /edgex-init/ready_to_run_wait_install.sh: exec: line 41: /device-simple: not found
edgex-device-simple | Tue Aug 9 08:16:58 UTC 2022 Starting /device-simple -cp=consul.http://edgex-core-consul:8500/ --registry --confdir=/res ...
edgex-device-simple exited with code 127
..."
The text was updated successfully, but these errors were encountered: