Beginner Docker & Containers
Q39 / 100

Why is it generally recommended to run only one main process per container?

Correct! Well done.

Incorrect.

The correct answer is B) It follows the single-responsibility principle, simplifying scaling, logging, and lifecycle management — each service can be scaled, restarted, and monitored independently

B

Correct Answer

It follows the single-responsibility principle, simplifying scaling, logging, and lifecycle management — each service can be scaled, restarted, and monitored independently

Explanation

While technically possible to run multiple processes, the convention of one process per container simplifies dependency management, scaling, and failure isolation in container orchestration.

Progress
39/100