ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 18 - DCA discussion

Report
Export

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Solution: mnt

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

The mnt namespace isnotdisabled by default anddoes notneed to be enabled at Docker engine runtime to be used.The mnt namespace is one of the six Linux kernel namespaces that Docker uses to isolate containers from the host system1.The mnt namespace allows a container to have its own set of mounted filesystems and root directories, which are different from the host's2. This means that a container can access only the files and directories that are mounted inside its namespace, and not the ones that are mounted on the host or other containers.The mnt namespace is created automatically when a container is started, and it is destroyed when the container stops3.

Isolate containers with a user namespace | Docker Docs

The mnt namespace - Docker Cookbook - Second Edition

Container security fundamentals part 2: Isolation & namespaces

mnt is not a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used. According to the official documentation, mnt is one of the namespaces that are enabled by default when using namespaces for isolation.

asked 08/11/2024
Nicole Stevens
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first