Docker - Resource ManagementWhich of the following is the correct command to start the Docker daemon with the overlay2 storage driver?Adockerd --storage-driver=overlay2Bdocker --storage-driver=overlay2Cdockerd -storage-driver overlay2Ddocker daemon --storage-driver overlay2Check Answer
Step-by-Step SolutionSolution:Step 1: Identify the correct daemon commandThe Docker daemon is started with 'dockerd', not 'docker'.Step 2: Check correct flag syntaxThe correct flag is '--storage-driver=overlay2' with two dashes and an equals sign.Final Answer:dockerd --storage-driver=overlay2 -> Option AQuick 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 signUsing single dash for long option
Master "Resource Management" in Docker9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Docker Quizzes Docker Security - Scanning images for vulnerabilities - Quiz 7medium Docker Security - Capabilities and privilege control - Quiz 7medium Docker Security - Capabilities and privilege control - Quiz 13medium Docker Swarm - Swarm vs Kubernetes decision - Quiz 8hard Docker in CI/CD - Deploying from CI/CD pipeline - Quiz 9hard Logging and Monitoring - Docker events monitoring - Quiz 5medium Logging and Monitoring - Grafana dashboards for containers - Quiz 5medium Production Patterns - Canary deployment pattern - Quiz 7medium Resource Management - Resource monitoring per container - Quiz 1easy Resource Management - CPU limits and reservations - Quiz 2easy