# docker node update role docker node update --role <manager/worker> <node-name> #Example docker node update --role manager node2