Are you running Docker in Host Mode? And are you getting the following error?
Failed to get hostname, using 'localhost' java.net.UnknownHostException: 731089ff-a983-4140-8033-cb66c33766da: 731089ff-a983-4140-8033-cb66c33766da: Name or service not known
This also applies to Pterodacyl/Wings in Host Mode too!
Then use the code below to fix it!
- Copy the code below to your server, and save it as
/root/generate_hosts.sh
- Run
crontab -e
and add this to the end of the crontab:* * * * * bash /root/generate_hosts.sh
- Verify that it works by waiting until the time has moved to another minute and check if hosts file contains the container names