πŸ“Š Docker
Q. How can you set a specific Docker Compose service to always restart on failure?
  • (A) restart: on-failure
  • (B) restart: always
  • (C) restart: on-crash
  • (D) restart: never
πŸ’¬ Discuss
βœ… Correct Answer: (A) restart: on-failure

Explanation: The 'restart: on-failure' option sets a service to always restart on failure in Docker Compose.

Explanation by: Vinay
The 'restart: on-failure' option sets a service to always restart on failure in Docker Compose.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
78
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
97%
Success Rate