πŸ“Š Docker
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Runs the container in background mode

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
86%
Success Rate