Sign inSign up

giof71/network-audio-daemon

By giof71

Updated over 2 years ago

Run network-audio-daemon on docker

Image
2

1.4K

giof71/network-audio-daemon repository overview

network-audio-daemon-docker

A docker image for network-audio-adapter by signalyst.

References

NAMELINK
Signalyst Main websiteWebsite
Signalyst Consumer ProductsLink
REPOSITORY TYPELINK
Git RepositoryGitHub
Docker ImagesDocker Hub

Build

Build Arguments
ARGUMENTDESCRIPTION
NAA_VERSIONThe version to install, defaults to 5.0.0-59
FORCE_ARCHForce the installation of the specified architecture, empty by default
Build Examples

You can build version e.g. 5.0.0-59 (the current default) using the following command:

docker build . --build-arg -t giof71/network-audio-daemon

If you need to force the architecture (for example on a Raspberry Pi 4 running OSMC, so arm64 architecture but armhf packages), run the following:

docker build . --build-arg FORCE_ARCH=armv7l -t giof71/network-audio-daemon

Configure

Environment Variables
VARIABLEDESCRIPTION
NAA_NAMEPlayer name, defaults to an empty string

Usage

Using docker run

You can run the container by typing:

docker run -d \
  --name network-audio-daemon \
  --network=host \
  --device /dev/snd \
  -e NAA_NAME=D10 \
  giof71/network-audio-daemon

It is possible to run the container using a specific uid:gid:

docker run -d \
  --name network-audio-daemon \
  --user "1000:29" \
  --network=host \
  --device /dev/snd \
  -e NAA_NAME=D10 \
  giof71/network-audio-daemon

I am using uid 1000 and gid 29 which corresponds, on my system, to the audio group.
Check the gid of the group audio using this command:

getent group audio

then modify the docker run commands accordingly.

Using docker compose

Example compose file:

---
version: "3"

services:
  network-audio-daemon:
    image: giof71/network-audio-daemon:latest
    container_name: network-audio-daemon
    user: "1000:29"
    network_mode: host
    devices:
      - /dev/snd:/dev/snd
    environment:
      - NAA_NAME=D10
    restart: unless-stopped

The user clause is optional as described in the Using docker run paragraph.

Tag summary

Content type

Image

Digest

sha256:afa2a53c6

Size

53.2 MB

Last updated

over 2 years ago

docker pull giof71/network-audio-daemon