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!