I am trying to run a .sh script (that sends an image to our database from the device) through our companies admin dashboard. Is there a way to use the SDK to push a bash exec command to a specific container?
For clarity, this is what I am trying to do:
- Our admin logs into our dashboard
- Our admin want to retrieve an image from the device
- Admin clicks ‘Retrieve Image’
- Our API connects to Balena SDK and runs ‘./send_image.sh’
- The response from ./send_image.sh script is returned to the admin dashboard