Govur University Logo
--> --> --> -->
...

What specific flag can be applied when starting a Docker container to prevent any writes to its root filesystem, thereby enhancing its security posture?



The specific flag that can be applied when starting a Docker container to prevent any writes to its root filesystem is `--read-only`. When this flag is used, the container's root filesystem is mounted as read-only. The root filesystem is the primary directory structure that a Docker container perceives and uses, containing its operating system files, installed applications, and their default configurations. By making this filesystem read-only, Docker preven....

Log in to view the answer



Community Answers

Sign in to open profiles and full community answers.

No community answers yet. Be the first to submit one.

Redundant Elements