Amazon CloudWatch Logs logging driver (Engine)

Amazon CloudWatch Logs logging driver

The awslogs logging driver sends container logs to Amazon CloudWatch Logs. Log entries can be retrieved through the AWS Management Console or the AWS SDKs and Command Line Tools.

Usage

You can configure the default logging driver by passing the --log-driver option to the Docker daemon:

docker daemon --log-driver=awslogs

You can set the logging driver for a specific container by using the --log-driver option to docker run:

docker run --log-driver=awslogs ..