πŸ“Š Docker
Q. What is the purpose of the 'docker-compose config --volumes' command?
  • (A) To list all volumes defined in a docker-compose.yml file
  • (B) To validate the docker-compose.yml file
  • (C) To display the configuration of volumes
  • (D) To list all containers
πŸ’¬ Discuss
βœ… Correct Answer: (A) To list all volumes defined in a docker-compose.yml file

Explanation: The 'docker-compose config --volumes' command lists all volumes defined in the 'docker-compose.yml' file.

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate