NLKNguyen / alpine-mpich

MPI Cluster Automation Solution using Docker, based on Alpine Linux with MPICH (see IEEE paper)
https://github.com/NLKNguyen/alpine-mpich
MIT License
134 stars 56 forks source link

Fix detection of external hosts #13

Closed simonholgate closed 5 years ago

simonholgate commented 5 years ago

In swarm mode, containers running on other hosts are not always detected by netstat -t. This fix uses dig instead, based on https://stackoverflow.com/questions/49446165/how-to-get-all-ip-addresses-on-a-docker-network

NLKNguyen commented 5 years ago

Great!! 👍 Looks a lot cleaner too. Thanks for solving that lingering issue that I noticed in the beginning but only knew to restart when it happened.