Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you add avahi-daemon ? #8

Open
gaetanars opened this issue Mar 17, 2020 · 1 comment
Open

Could you add avahi-daemon ? #8

gaetanars opened this issue Mar 17, 2020 · 1 comment

Comments

@gaetanars
Copy link

gaetanars commented Mar 17, 2020

Could you add avahi-demon in your great docker image ?

Unable to communicate with avahi-daemon: Daemon not running

Regards

@gaetanars gaetanars changed the title Can you add avahi-daemon ? Could you add avahi-daemon ? Mar 17, 2020
@jacobalberty
Copy link
Owner

If you make a folder within your /config volume named init.d then create a file named avahi you can put the following into the file and it should enable avahi in the existing image.

#!/usr/bin/env bash

source ${PREFIX}/functions

if ( ! isInst avahi-daemon ); then
  apt-get update
  apt-get install -qy --no-install-recommends avahi-daemon
fi
mkdir -p /var/run/dbus

dbus-daemon --system
avahi-daemon -D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants