How do I specify AWS_SHARED_CREDENTIALS_FILE to the docker daemon?

I want to use the awslogs driver with Docker for Mac, but I’m not sure how to set the environment variable AWS_SHARED_CREDENTIALS_FILE to specify credentials to the docker daemon. Is there a way to do that with Docker for Mac?

I opened a Stack Overflow question with a 150 reputation bounty, in case that motivates anyone to take a look: