A

Admin • 828.43K Points
Coach

Q. What command updates containers when changes are made to the Compose file?

  • (A) docker-compose build
  • (B) docker-compose restart
  • (C) docker-compose up --force-recreate
  • (D) docker-compose refresh

Explanation by: Admin
`docker-compose up --force-recreate` forces recreation of containers even if they haven't changed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.