A

Admin • 828.43K Points
Coach

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

Explanation by: Admin
The '--detach' or '-d' flag runs the container in the background (detached mode).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.