A

Admin • 825.56K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Docker
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.