0

Is there a way to force the creation of a docker service in a Docker Swarm in the manager node?

I can not use the --constraint node.hostname=... because I don't know the specific hostname for each stage where I deploy my application

Federico Bellini
  • 365
  • 1
  • 7
  • 18

1 Answers1

1

--constraint node.role==manager

Chris Becke
  • 34,244
  • 12
  • 79
  • 148