We are using docker swarm in our production environment. Here is the output of docker node ls command.
docker node ls
ID HOSTNAME