πŸ“Š Docker
Q. What is the default command that Docker runs in a container if no command is specified?
  • (A) CMD
  • (B) ENTRYPOINT
  • (C) RUN
  • (D) BOTH CMD AND ENTRYPOINT
πŸ’¬ Discuss
βœ… Correct Answer: (A) CMD

Explanation: If no command is specified, Docker will use the default command specified in the Dockerfile as CMD.

Explanation by: Shiva Ram
If no command is specified, Docker will use the default command specified in the Dockerfile as CMD.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
162
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
82%
Success Rate