Say that we are working in swarm mode and we have three nodes:
Is it possible to create a service an
Yes, you can constrain a service based on node role. Change your command to:
docker service create --network dognet --constraint node.role==worker --name dog-db redis