πŸ“Š Docker
Q. What does the '--rm' flag do when running a Docker container?
  • (A) Removes the container when it stops
  • (B) Runs the container in detached mode
  • (C) Rebuilds the image every time
  • (D) Maps the container port to a host port
πŸ’¬ Discuss
βœ… Correct Answer: (A) Removes the container when it stops

Explanation: The '--rm' flag removes the container automatically once it stops.

Explanation by: Priyanka Tomar
The '--rm' flag removes the container automatically once it stops.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
83
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
93%
Success Rate