docker swarm update nodes code example Example: docker node label add $ docker node update --label-add foo worker1