IF Docker is not able to detect nodes based on their name when running on Ubuntu or differnt Linux distributions....
execute the following script:
sudo apt-get install bridge-utils
sudo pkill docker
sudo iptables -t nat -F
sudo ifconfig docker0 down
sudo brctl delbr docker0