Q. What is the purpose of the 'docker-compose config --services' command?

  • (A) To list all services defined in a docker-compose.yml file
  • (B) To validate the docker-compose.yml file
  • (C) To display the configuration of services
  • (D) To list all containers
πŸ’¬ Discuss
βœ… Correct Answer: (A) To list all services defined in a docker-compose.yml file
Explanation: The 'docker-compose config --services' command lists all services defined in the 'docker-compose.yml' file.
Explanation by: Shiva Ram
The 'docker-compose config --services' command lists all services defined in the 'docker-compose.yml' file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
131
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
95%
Success Rate