What logging drivers does Docker offer, and which is the default?
BeginnerProductionResource Limits, Health & Reliability
Answer
Default json-file (or local). Others: local, journald, syslog, fluentd, gelf, awslogs, splunk, gcplogs, none. Check with docker info --format '{{.LoggingDriver}}'. docker logs works with json-file, local and journald (and via dual logging with most remote drivers).
More on Resource Limits, Health & Reliability
How do you set memory and CPU limits, and what happens when they are exceeded?BeginnerWhat is the difference between `--cpus`, `--cpu-shares` and `--cpuset-cpus`?BeginnerWhat does `--memory-reservation` do?AdvancedHow do you diagnose an OOM-killed container?IntermediateWhy do JVM and Node services in containers need explicit memory flags?IntermediateWhat is CPU throttling, and how do you detect it?Advanced