Coder Social home page Coder Social logo

docker-ubu-avahi's Introduction

docker-ubu-avahi

Installs avahi-daemon into an Ubuntu Linux container

avahi

Description

Avahi is a free zero-configuration networking (zeroconf) implementation, including a system for multicast DNS/DNS-SD service discovery

http://www.avahi.org/

Usage

docker create --name=avahi-daemon  \
  -v /etc/localtime:/etc/localtime:ro \
  -v /var/run/dbus:/var/run/dbus \
  -e DOCKUID=<UID default:106> \
  -e DOCKGID=<GID default:111> \
     digrouz/docker-ubu-avahi

Environment Variables

When you start the avahi image, you can adjust the configuration of the avahi instance by passing one or more environment variables on the docker run command line.

DOCKUID

This variable is not mandatory and specifies the user id that will be set to run the application. It has default value 111.

DOCKGID

This variable is not mandatory and specifies the group id that will be set to run the application. It has default value 106.

Notes

  • The docker entrypoint will upgrade operating system at each startup.
  • It is assumed that the host is running the dbus daemon and share the socket through /var/run/dbus with this container. This is a requirement to have mdns support.

docker-ubu-avahi's People

Contributors

digrouz avatar

Watchers

 avatar James Cloos avatar  avatar

docker-ubu-avahi's Issues

Doesn't work on synology

Just to save anyone else the trouble of trying this, I have been unable to get this to work on a Synology DS918+, despite the host running dbus:

avahi-daemon 0.6.32-rc starting up.
dbus_bus_get_private(): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
WARNING: Failed to contact D-Bus daemon.
avahi-daemon 0.6.32-rc exiting.

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.