Docker Community Forums

Share and learn in the Docker community.

Docker engine labels (for swarm constraints)


(Edgardo Hames) #1

I have configured a single node docker swarm on my mac to try to understand deployment. The services in my docker-compose file specify some constraints regarding the nodes where they can be run. How do I specify engine labels in my docker for mac?