Docker container for wsdd.py
Find a file
Edvinas 5846cd7ef0
Bugfix wsdd args concat
Using brackets in string concatenation has special meaning
for for bash thus later argument never gets appended. Use
simple strings concat instead fixes problem.
2020-05-20 23:54:14 +03:00
docker-cmd.sh Bugfix wsdd args concat 2020-05-20 23:54:14 +03:00
Dockerfile Bump to version 0.5 of wsdd and minor Dockerfile adjustment. 2019-12-22 18:59:32 +01:00
LICENSE Initial commit 2019-06-11 19:27:14 +02:00
README.md Add support for DOMAIN and WORKGROUP. 2019-06-24 17:06:29 +02:00

wsdd-docker

Docker image for wsdd.py.

wsdd implements a Web Service Discovery host daemon. This enables (Samba) hosts, like your local NAS device or Linux server, to be found by Web Service Discovery Clients like Windows.

Supported environment variables

HOSTNAME: Samba Netbios name to report.

WORKGROUP: Workgroup name

DOMAIN: Report being a member of an AD DOMAIN. Disables WORKGROUP if set.

Running container

From command line

docker run --net=host -e HOSTNAME=$(hostname) jonasped/wsdd

It is important that the container is run with the argument --net=host and that the environment variabel HOSTNAME is set to the same value as your Samba netbios name. Samba netbios name defaults to the hostname.

From docker compose

A docker-compose.yml file could look like the one below.

        wsdd:
                image: "jonasped/wsdd"
                environment:
                        - HOSTNAME=NETBIOS_NAME
                restart: unless-stopped
                network_mode: "host"