Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

In Java geschriebener Discord Bot als Docker...

Featured Replies

Hallo!

ich hab einen Discord Bot der in ubuntu servern per terminal mit installiertem JDK ausgeführt werden kann: ./bot-name 
wie bekomme ich den in einen Docker ?

gibt es einen Fertigen Container dafür?

 

Danke Schön!

Solved by Ford Prefect

  • Solution
1 hour ago, deemo said:

ich hab einen Discord Bot der in ubuntu servern per terminal mit installiertem JDK ausgeführt werden kann: ./bot-name 

Du meinst Du hast den selbst geschrieben oder ist es eine App aus dem ubuntu Repositories?

 

1 hour ago, deemo said:

gibt es einen Fertigen Container dafür?

...einen Basis-Container (official image) für ubuntu gibt es natürlich...aber openjdk hat seine Images eingestellt. Welche Lizenz bei anderen jdks dahinter hängt, weiss ich aktuell nicht. Das/Ein Problem ist -soweit ich mich erinnere - , das zB Oracle die Verteilung so nicht erlaubt, deshalb musst Du die jdk-runtime manuell in Deinen Docker einbauen oder gar zur Laufzeit runterladen. Wie es sich mit anderen Images mit jdk (ibm, aws, ...) verhält und welche Linux-Distro dann im Image dahinterliegt weiss ich aktuell nicht.

 

1 hour ago, deemo said:

wie bekomme ich den in einen Docker ?

Du kannst den Docker lokal bauen und lokal nutzen...oder ihn danach in den Docker-Hub hochladen und über ein unraid-template mit der URL aus dem Docker-Hub wieder "installieren". Hier sind die Grundlagen: https://docs.docker.com/develop/

 

Edit: das sieht interessant aus: https://learn.microsoft.com/en-us/java/openjdk/containers

Edited by Ford Prefect

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.