advancedTop 100 Interview Questions
Why are container logs ephemeral by default, and what's the production implication?
Logs written to stdout/stderr are captured by the configured log driver but tied to that specific container instance; once the container is removed, its log history (and any logs not shipped elsewhere) is gone. Production systems must ship logs to a centralized, off-host store to retain them beyond a container's lifecycle.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
Why are container logs ephemeral by default, and what's the production implication?