should this be DD_API_KEY instead of API_KEY? docker logs had this and it started working when I switched the env var name
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-check-apikey.sh: executing...
==================================================================================
You must set an DD_API_KEY environment variable to run the Datadog Agent container
==================================================================================
[cont-init.d] 01-check-apikey.sh: exited 1.
https://github.com/DataDog/docker-compose-example/blob/95d529717070a0dab0f5f53a923476f64f02b254/docker-compose.yml#L23
should this be
DD_API_KEY
instead ofAPI_KEY
? docker logs had this and it started working when I switched the env var name