Skip to content

Instantly share code, notes, and snippets.

View Miniontoby's full-sized avatar

Miniontoby Miniontoby

View GitHub Profile
@Miniontoby
Miniontoby / Docker Host Mode, Fix for Failed to get hostname.md
Last active January 25, 2025 16:37
Docker Host Mode, fix for "Failed to get hostname, using 'localhost'" warning

Docker Host Mode, fix for "Failed to get hostname, using 'localhost'" warning

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!

@Miniontoby
Miniontoby / AutoStartRichPresence.plugin.js
Last active February 23, 2024 10:15
AutoStartRichPresence.plugin.js
/**
* @name AutoStartRichPresence
* @version 2.0.10
*
* @author Miniontoby
* @authorId 849180136828960799
* @description Auto starts Rich Presence with configurable settings.
*
* @updateUrl https://raw.githubusercontent.com/Miniontoby/MinionBDStuff/main/Plugins/AutoStartRichPresence/AutoStartRichPresence.plugin.js
* @source https://raw.githubusercontent.com/Miniontoby/MinionBDStuff/main/Plugins/AutoStartRichPresence/AutoStartRichPresence.plugin.js