Home / Report Question

Q. What does the '--detach' or '-d' flag do when running 'docker run'?
  • A. Runs the container in background mode
  • B. Runs the container in interactive mode
  • C. Assigns a random name to the container
  • D. Forces the container to restart automatically

Correct Answer: A