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