I’m trying to get AWS CloudWatch logging set up on my laptop running macOS.
The CloudWatch logging driver page says:
You must provide AWS credentials to the Docker daemon to use the awslogs logging driver. You can provide these credentials with the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN environment variable.
How can I do this with the Docker beta (1.13.0-beta39)? I thought I might be able to do it in the Docker daemon preferences, but I can’t see how – it doesn’t look like the JSON configuration supports environment variables.
Any help would be welcome!