Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ioBroker startet nicht im Hostnetwork im Docker Environment

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    913

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

ioBroker startet nicht im Hostnetwork im Docker Environment

Scheduled Pinned Locked Moved ioBroker Allgemein
dockerhostnetworkwebui iobroker notreachable
9 Posts 5 Posters 1.9k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sky NetS Offline
    Sky NetS Offline
    Sky Net
    wrote on last edited by Sky Net
    #1

    Hallo allerseits,

    ich versuche nun seit Tagen den ioBroker im Hostnetwork (wegen Discovery von Geräten, wie z.b. die Logitech Harmony) zum Laufen zu kriegen. Leider ohne Erfolg.

    Wenn ich den ioBroker im Bridge Network laufen lasse, komme ich auf die Weboberfläche.

    Sobald ich auf das Hostnetwork wechsle, komme ich nicht mehr auf das WebUI. Das Log sieht für mein Verständnis sauber aus.

    Hat jemand ähnliches gehabt und weiß Rat?
    Vielen Dank im Voraus.

    Hier mal noch das Log (die Adapter hab ich installiert wo der ioBroker noch im Bridge network war).

    ------------------------------------------------------------,
    ---------------     2020-11-08 14:45:14      ---------------,
    ------------------------------------------------------------,
     ,
    ------------------------------------------------------------,
    -----       Welcome to your ioBroker-container!        -----,
    -----          Startupscript is now running.           -----,
    -----                Please be patient!                -----,
    ------------------------------------------------------------,
     ,
    ------------------------------------------------------------,
    -----              Debugging information               -----,
    -----                                                  -----,
    -----                      System                      -----,
    -----               arch:      armv7l                  -----,
    -----                                                  -----,
    -----                     Versions                     -----,
    -----               image:     v5.0.0                  -----,
    -----               node:      v12.19.0                -----,
    -----               npm:       6.14.8                  -----,
    -----                                                  -----,
    -----                       ENV                        -----,
    -----               ADMINPORT: 8081                    -----,
    -----               SETGID:    1000                    -----,
    -----               SETUID:    1000                    -----,
    ------------------------------------------------------------,
     ,
    ------------------------------------------------------------,
    -----         Step 1 of 5: Preparing container         -----,
    ------------------------------------------------------------,
     ,
    Nothing to do here.,
     ,
    ------------------------------------------------------------,
    -----   Step 2 of 5: Detecting ioBroker installation   -----,
    ------------------------------------------------------------,
     ,
    Existing installation of ioBroker detected in /opt/iobroker.,
     ,
    ------------------------------------------------------------,
    -----   Step 3 of 5: Checking ioBroker installation    -----,
    ------------------------------------------------------------,
     ,
    (Re)Setting folder permissions (This might take a while! Please be patient!)...,
    Done.,
     ,
    Fixing "sudo-bug" by replacing sudo in iobroker with gosu...,
    Done.,
     ,
    ------------------------------------------------------------,
    -----      Step 4 of 5: Applying special settings      -----,
    ------------------------------------------------------------,
     ,
    Some adapters have special requirements/ settings which can be activated by the use of environment variables.,
    For more information take a look at readme.md on Github!,
     ,
    ------------------------------------------------------------,
    -----          Step 5 of 5: ioBroker startup           -----,
    ------------------------------------------------------------,
     ,
    Starting ioBroker...,
     ,
    ================================== > LOG REDIRECT system.adapter.admin.0 => true [starting],
    host.iobroker check instance "system.adapter.admin.0" for host "iobroker",
    host.iobroker check instance "system.adapter.discovery.0" for host "iobroker",
    host.iobroker check instance "system.adapter.info.0" for host "iobroker",
    host.iobroker check instance "system.adapter.alexa2.0" for host "iobroker",
    host.iobroker check instance "system.adapter.dwd.0" for host "iobroker",
    host.iobroker check instance "system.adapter.daswetter.0" for host "iobroker",
    host.iobroker check instance "system.adapter.telegram.0" for host "iobroker",
    host.iobroker check instance "system.adapter.text2command.0" for host "iobroker",
    host.iobroker check instance "system.adapter.feiertage.0" for host "iobroker",
    host.iobroker check instance "system.adapter.harmony.0" for host "iobroker",
    
    UncleSamU 1 Reply Last reply
    0
    • Sky NetS Sky Net

      Hallo allerseits,

      ich versuche nun seit Tagen den ioBroker im Hostnetwork (wegen Discovery von Geräten, wie z.b. die Logitech Harmony) zum Laufen zu kriegen. Leider ohne Erfolg.

      Wenn ich den ioBroker im Bridge Network laufen lasse, komme ich auf die Weboberfläche.

      Sobald ich auf das Hostnetwork wechsle, komme ich nicht mehr auf das WebUI. Das Log sieht für mein Verständnis sauber aus.

      Hat jemand ähnliches gehabt und weiß Rat?
      Vielen Dank im Voraus.

      Hier mal noch das Log (die Adapter hab ich installiert wo der ioBroker noch im Bridge network war).

      ------------------------------------------------------------,
      ---------------     2020-11-08 14:45:14      ---------------,
      ------------------------------------------------------------,
       ,
      ------------------------------------------------------------,
      -----       Welcome to your ioBroker-container!        -----,
      -----          Startupscript is now running.           -----,
      -----                Please be patient!                -----,
      ------------------------------------------------------------,
       ,
      ------------------------------------------------------------,
      -----              Debugging information               -----,
      -----                                                  -----,
      -----                      System                      -----,
      -----               arch:      armv7l                  -----,
      -----                                                  -----,
      -----                     Versions                     -----,
      -----               image:     v5.0.0                  -----,
      -----               node:      v12.19.0                -----,
      -----               npm:       6.14.8                  -----,
      -----                                                  -----,
      -----                       ENV                        -----,
      -----               ADMINPORT: 8081                    -----,
      -----               SETGID:    1000                    -----,
      -----               SETUID:    1000                    -----,
      ------------------------------------------------------------,
       ,
      ------------------------------------------------------------,
      -----         Step 1 of 5: Preparing container         -----,
      ------------------------------------------------------------,
       ,
      Nothing to do here.,
       ,
      ------------------------------------------------------------,
      -----   Step 2 of 5: Detecting ioBroker installation   -----,
      ------------------------------------------------------------,
       ,
      Existing installation of ioBroker detected in /opt/iobroker.,
       ,
      ------------------------------------------------------------,
      -----   Step 3 of 5: Checking ioBroker installation    -----,
      ------------------------------------------------------------,
       ,
      (Re)Setting folder permissions (This might take a while! Please be patient!)...,
      Done.,
       ,
      Fixing "sudo-bug" by replacing sudo in iobroker with gosu...,
      Done.,
       ,
      ------------------------------------------------------------,
      -----      Step 4 of 5: Applying special settings      -----,
      ------------------------------------------------------------,
       ,
      Some adapters have special requirements/ settings which can be activated by the use of environment variables.,
      For more information take a look at readme.md on Github!,
       ,
      ------------------------------------------------------------,
      -----          Step 5 of 5: ioBroker startup           -----,
      ------------------------------------------------------------,
       ,
      Starting ioBroker...,
       ,
      ================================== > LOG REDIRECT system.adapter.admin.0 => true [starting],
      host.iobroker check instance "system.adapter.admin.0" for host "iobroker",
      host.iobroker check instance "system.adapter.discovery.0" for host "iobroker",
      host.iobroker check instance "system.adapter.info.0" for host "iobroker",
      host.iobroker check instance "system.adapter.alexa2.0" for host "iobroker",
      host.iobroker check instance "system.adapter.dwd.0" for host "iobroker",
      host.iobroker check instance "system.adapter.daswetter.0" for host "iobroker",
      host.iobroker check instance "system.adapter.telegram.0" for host "iobroker",
      host.iobroker check instance "system.adapter.text2command.0" for host "iobroker",
      host.iobroker check instance "system.adapter.feiertage.0" for host "iobroker",
      host.iobroker check instance "system.adapter.harmony.0" for host "iobroker",
      
      UncleSamU Offline
      UncleSamU Offline
      UncleSam
      Developer
      wrote on last edited by
      #2

      @Sky-Net Mit welcher URL greifst du denn auf den ioBroker zu im Fall von Host Network? Wie im anderen Fall?

      Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
      ♡-lichen Dank an meine Sponsoren

      Sky NetS 1 Reply Last reply
      0
      • UncleSamU UncleSam

        @Sky-Net Mit welcher URL greifst du denn auf den ioBroker zu im Fall von Host Network? Wie im anderen Fall?

        Sky NetS Offline
        Sky NetS Offline
        Sky Net
        wrote on last edited by Sky Net
        #3

        @UncleSam

        http://10.0.4.6:8081

        Im Hostnetwork werden ja die ports einfach durchgereicht, die sonst als default im Image hintrlegt sind.

        Hier mal mein Befehl ums zu starten, hab auch die standardports schon geändert, ohne Erfolg:

        docker run -d --network host --name iobroker -v iobroker_data:/opt/iobroker buanet/iobroker -e "TZ=Europe/Berlin" -e "IOB_STATESDB_PORT=8900" -e "IOB_OBJECTSDB_PORT=8901" -e "IOB_ADMINPORT=8089"
        
        UncleSamU 1 Reply Last reply
        0
        • Sky NetS Sky Net

          @UncleSam

          http://10.0.4.6:8081

          Im Hostnetwork werden ja die ports einfach durchgereicht, die sonst als default im Image hintrlegt sind.

          Hier mal mein Befehl ums zu starten, hab auch die standardports schon geändert, ohne Erfolg:

          docker run -d --network host --name iobroker -v iobroker_data:/opt/iobroker buanet/iobroker -e "TZ=Europe/Berlin" -e "IOB_STATESDB_PORT=8900" -e "IOB_OBJECTSDB_PORT=8901" -e "IOB_ADMINPORT=8089"
          
          UncleSamU Offline
          UncleSamU Offline
          UncleSam
          Developer
          wrote on last edited by UncleSam
          #4

          @Sky-Net sagte in ioBroker startet nicht im Hostnetwork im Docker Environment:

          Im Hostnetwork werden ja die ports einfach durchgereicht, die sonst als default im Image hintrlegt sind.

          OK, jetzt war ich etwas verwirrt zwischen Host und anderem Netzwerk.

          Aber: deine Annahme ist falsch: im Default Image sind keine Ports hinterlegt (das ist auch gut so), die muss man selber auf der Kommandozeile angeben (mit -p).

          Hier übrigens die Kommandozeile, die buanet vorschlägt: https://github.com/buanet/docker-iobroker#running-from-command-line

          Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
          ♡-lichen Dank an meine Sponsoren

          Sky NetS 1 Reply Last reply
          0
          • UncleSamU UncleSam

            @Sky-Net sagte in ioBroker startet nicht im Hostnetwork im Docker Environment:

            Im Hostnetwork werden ja die ports einfach durchgereicht, die sonst als default im Image hintrlegt sind.

            OK, jetzt war ich etwas verwirrt zwischen Host und anderem Netzwerk.

            Aber: deine Annahme ist falsch: im Default Image sind keine Ports hinterlegt (das ist auch gut so), die muss man selber auf der Kommandozeile angeben (mit -p).

            Hier übrigens die Kommandozeile, die buanet vorschlägt: https://github.com/buanet/docker-iobroker#running-from-command-line

            Sky NetS Offline
            Sky NetS Offline
            Sky Net
            wrote on last edited by
            #5

            @UncleSam

            mit -p tust nur ports mappen, also wenn du von extern nen anderen port wie intern haben willst z.B.
            aber auch diese Einstellungen braucht man nur im Falle dessen, wenn man kein Hostnetwork nimmt

            Sky NetS 1 Reply Last reply
            0
            • Sky NetS Sky Net

              @UncleSam

              mit -p tust nur ports mappen, also wenn du von extern nen anderen port wie intern haben willst z.B.
              aber auch diese Einstellungen braucht man nur im Falle dessen, wenn man kein Hostnetwork nimmt

              Sky NetS Offline
              Sky NetS Offline
              Sky Net
              wrote on last edited by
              #6

              ok, habs nun ohne docker swarm hinbekommen...

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                zimbombo
                wrote on last edited by zimbombo
                #7

                @sky-net wie hast du das Ganze denn gelöst bekommen. Ich habe aktuell das selbe Problem und kriege den Container im host Netzwerk einfach nicht gestartet...

                Edit: Habs selbst zum laufen bekommen...

                H 1 Reply Last reply
                0
                • Z zimbombo

                  @sky-net wie hast du das Ganze denn gelöst bekommen. Ich habe aktuell das selbe Problem und kriege den Container im host Netzwerk einfach nicht gestartet...

                  Edit: Habs selbst zum laufen bekommen...

                  H Offline
                  H Offline
                  hevilp
                  wrote on last edited by
                  #8

                  @zimbombo und wie hast du es geschafft?

                  GlasfaserG 1 Reply Last reply
                  0
                  • H hevilp

                    @zimbombo und wie hast du es geschafft?

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    wrote on last edited by Glasfaser
                    #9

                    @hevilp

                    Welches Problem hast du denn !?

                    ( Der Thread ist von 2020 )

                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Support us

                    ioBroker
                    Community Adapters
                    Donate
                    FAQ Cloud / IOT
                    HowTo: Node.js-Update
                    HowTo: Backup/Restore
                    Downloads
                    BLOG

                    516

                    Online

                    32.6k

                    Users

                    82.2k

                    Topics

                    1.3m

                    Posts
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Home
                    • Recent
                    • Tags
                    • Unread 0
                    • Categories
                    • Unreplied
                    • Popular
                    • GitHub
                    • Docu
                    • Hilfe