Docker Observability
Container logging driver selection
Select the destination and delivery implementation for container stdout/stderr. Existing containers retain their settings; drivers differ in read support. Bound retrieval bytes and elapsed time separately from line count.
Formal Syntax & Structure
docker syntaxdocker
--log-driver=DRIVERWorking Example
Example Snippetdocker
docker inspect --format '{{.HostConfig.LogConfig.Type}}' bm-observe