A

Admin • 825.56K Points
Coach

Q. Which key defines the restart policy for a service in docker-compose.yml?

  • (A) restart
  • (B) policy
  • (C) on_failure
  • (D) retry

Explanation by: Admin
The `restart` key specifies the restart policy such as 'always' or 'on-failure'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.