Update with instructions on how to run the container.
This commit is contained in:
parent
96d9629c4b
commit
f291954db7
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -1,2 +1,16 @@
|
||||||
# wsdd-docker
|
# wsdd-docker
|
||||||
Docker container for wsdd.py
|
Docker container for wsdd.py
|
||||||
|
|
||||||
|
## 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"
|
||||||
|
|
Loading…
Reference in a new issue