Pass Credentials to the awslogs Docker Logging Driver on Ubuntu

Last year docker added support for multiple logging drivers. This makes it very easy to integrate your docker containers with a centralized log management system in a transparent way. If you want to use the AWS Cloudwatch driver you will need to supply the docker daemon with access keys, which proved to be trickier than expected. Here’s how I managed to get it running. »