From what I have read, It seems that BALENA_SUPERVISOR_KEY should be generated when a container starts provided the io.balena.features.supervisor-api is set in the docker-file:
Here is an excerpt of the docker-compose.yml file:
When I try to run curl as in the example it fails due to the variable not being set, here I am trying to dereference the variable which appears to be empty…
root@c791b447efb6:/usr/src/app# echo $BALENA_SUPERVISOR_API_KEY
I ran this command in the ‘monitor’ service, which is the same as labeled in the docker-compose.yml. I expected to see the actual API key revealed…
I need to change the hostname of the device… I am probably missing something simple (hopefully :).
Thank In Advance!