docker node placement constraints

JavaScript
docker service create \
    --name nginx-east-no-devel \
    --constraint node.labels.region==east \
    --constraint node.labels.type!=devel \
    nginx

Source

Also in JavaScript: