S

Shiva Ram • 30.44K Points
Instructor I

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

Explanation by: Shiva Ram
The 'docker-compose config --services' command lists all services defined in the 'docker-compose.yml' file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.