A log driver is a container-runtime component that transfers application log records—typically emitted to stdout—to a configured destination or collector. Docker supports drivers such as journald, syslog, Fluentd, and cloud-provider formats; the runtime supplies concrete logging because Kubernetes CRI does not define it directly. section 3.2.2
Routing container logs through Fluentd and Fluent Bit
A Docker Compose service can select the fluentd driver, assign a tag, and send records to Fluent Bit. Fluent Bit receives the Forward stream and routes matching records to an OpenSearch index for searching and visualization. This separates the container’s log emission from collection and backend storage. section 4.1.1
docker run --log-driver=awslogs \
--log-opt awslogs-region=eu-west-1 \
--log-opt awslogs-group=docker-test \
--log-opt awslogs-create-group=true \
...
Shows a Docker command that configures the awslogs driver with an AWS region, log group, and automatic group creation. section 3.2.2

