Bird
0
0

What is the main purpose of the 'none' logging driver in Docker?

easy📝 Conceptual Q2 of 15
Docker - Logging and Monitoring
What is the main purpose of the 'none' logging driver in Docker?
ATo send logs to the system journal
BTo disable logging for the container
CTo send logs to a remote syslog server
DTo store logs in JSON format
Step-by-Step Solution
Solution:
  1. Step 1: Review the 'none' logging driver function

    The 'none' driver disables logging, meaning no logs are collected or stored.
  2. Step 2: Match the purpose to the options

    Only To disable logging for the container correctly states that 'none' disables logging.
  3. Final Answer:

    To disable logging for the container -> Option B
  4. Quick Check:

    'none' driver disables logging = B [OK]
Quick Trick: 'none' driver means no logs are saved or collected [OK]
Common Mistakes:
  • Thinking 'none' sends logs to syslog
  • Confusing 'none' with journald
  • Assuming 'none' stores logs locally

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes