A

Admin • 828.43K Points
Coach

Q. Which key in docker-compose.yml can restrict services to run on specific nodes in a swarm?

  • (A) placement
  • (B) node
  • (C) affinity
  • (D) constraints

Explanation by: Admin
`placement` under `deploy` is used to restrict services to specific nodes in Docker Swarm.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.