Interview Prep/Docker/Resources, health checks, logging and restarts

`Error response from daemon: configured logging driver does not support reading` when running `docker logs`.

IntermediateTroubleshootingResources, health checks, logging and restarts
Answer

Likely causes → Driver such as syslog, gelf, fluentd or awslogs without dual logging support in that engine/plugin setup.

Diagnose → docker inspect -f '{{.HostConfig.LogConfig.Type}}' c.

Fix → Read logs in the backend, or use local/json-file driver; Docker 20.10+ dual logging usually caches for most drivers.

Prevent → Choose a driver with local cache (or run a collector sidecar).

All Docker questions Roadmap: Docker & containers

More on Resources, health checks, logging and restarts