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
πŸ’¬ Discuss
βœ… Correct Answer: (A) docker run -d
Explanation: The '-d' flag in the 'docker run' command is used to run the container in detached mode (in the background).
Explanation by: Rakesh Kumar
The '-d' flag in the 'docker run' command is used to run the container in detached mode (in the background).

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
104
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
82%
Success Rate