Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
How do I specify a node for a docker stack container?

I have a docker-cloud.yml file that successfully starts a swarm, but it (apparently randomly) selects the nodes that each container runs on. I have associated containers that I want to run in the same node, but I don't see a way to do that.

I don't see the term in Docker, but I otherwise might refer to this as "affinity". I want containers to have assigned node affinity.

I see the add-label command and I see one version of the documentation that indicates a tags: field in the configuration file, but my version of docker doesn't allow that field.

I'm using docker version 17.04.0-ce on Ubuntu 16.04.2 LTS (xenial)

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!