Home / Report Question

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: A