R

Rakesh Kumar • 28.44K Points
Instructor II

Q. How do you start a container in the background (detached mode)?

  • (A) docker run -d
  • (B) docker start -d
  • (C) docker container run -d
  • (D) docker exec -d
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Docker

Explanation by: Rakesh Kumar
The '-d' flag in the 'docker run' command is used to run the container in detached mode (in the background).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics