Advanced Docker & Containers
Q83 / 100

What is the difference between the "overlay2" storage driver and using bind mounts for a container's root filesystem?

Correct! Well done.

Incorrect.

The correct answer is B) overlay2 layers image filesystems, combining read-only image layers with a writable container layer via union mounts; bind mounts instead share specific host directories directly with a container, independent of image layering

B

Correct Answer

overlay2 layers image filesystems, combining read-only image layers with a writable container layer via union mounts; bind mounts instead share specific host directories directly with a container, independent of image layering

Explanation

overlay2 implements the union filesystem that stacks image layers and a container's writable layer transparently, whereas bind mounts are a separate mechanism for exposing specific host paths inside the container, often used for persistent or shared data.

Progress
83/100