Bird
0
0

Which of the following is the correct command to start the Docker daemon with the overlay2 storage driver?

easy📝 Configuration Q3 of 15
Docker - Resource Management
Which of the following is the correct command to start the Docker daemon with the overlay2 storage driver?
Adockerd --storage-driver=overlay2
Bdocker --storage-driver=overlay2
Cdockerd -storage-driver overlay2
Ddocker daemon --storage-driver overlay2
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct daemon command

    The Docker daemon is started with 'dockerd', not 'docker'.
  2. Step 2: Check correct flag syntax

    The correct flag is '--storage-driver=overlay2' with two dashes and an equals sign.
  3. Final Answer:

    dockerd --storage-driver=overlay2 -> Option A
  4. Quick Check:

    Daemon start with storage driver = dockerd --storage-driver=overlay2 [OK]
Quick Trick: Use dockerd with double dash and equals for storage driver [OK]
Common Mistakes:
  • Using 'docker' instead of 'dockerd'
  • Missing equals sign
  • Using single dash for long option

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes