Currently all my nodes have the name ubuntu-yakkety.
docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
d7rdq4n4dmrkhyz4ov7ldr31e ubuntu-yakkety Ready Active
iddxyuic586lnla6aw700rdwc ubuntu-yakkety Ready Active
zxcr1yvveccj4soyh2hsjjebk * ubuntu-yakkety Ready Active Leader
In order to create better filters that would be great if I could update node's hostname as node-01
node-02
... node-99
However, I couldn't find any way to accomplish it in the documentation.
1) Is it possible to update the hostname of an existing Docker node?
2) Is it possible giving a name to a node while joining to swarm?