Code Monkey home page Code Monkey logo

Comments (8)

mrstegeman avatar mrstegeman commented on July 17, 2024

I knew this was going to cause some issues...

Would an environment variable help? That way, you could disable avahi selectively.

from gateway-docker.

mrstegeman avatar mrstegeman commented on July 17, 2024

@white-gecko do you have a better solution for this?

from gateway-docker.

gorbunovav avatar gorbunovav commented on July 17, 2024

@mrstegeman as far as I understand the avahi daemon is required for the webthing-arduino add-on only, right?

In that case, I am ok with the environment variable solution, since I am not going to use it in the nearest feature 🤔

from gateway-docker.

mrstegeman avatar mrstegeman commented on July 17, 2024

It's used for a couple things:

  • Publishing the hostname to the network, so that from a browser, you can navigate to http://gateway.local
  • Doing .local DNS lookups, which are primarily (but not only) used by native web things (e.g. using the webthing-* libraries).

Neither of these are absolutely necessary, but are definitely conveniences.

from gateway-docker.

white-gecko avatar white-gecko commented on July 17, 2024

Ah yes, I can see the same message in my logs as well. But I think the avahi daemons seam not to further interfere as it seems to me.

from gateway-docker.

white-gecko avatar white-gecko commented on July 17, 2024

But sure I think an environment variable could control whether the daemon should be running. But this would not solve the issue to prevent the log messages.

from gateway-docker.

mrstegeman avatar mrstegeman commented on July 17, 2024

I think the issue here is that avahi is running on the host as well, and the Docker container is using host networking, so the two are somehow interfering.

from gateway-docker.

snorp avatar snorp commented on July 17, 2024

I have this log message too, and my host (CoreOS) isn't running avahi.

from gateway-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.