From 67cd8b4e37605c974b7579e67a12a558943b6fac Mon Sep 17 00:00:00 2001 From: Jonas Pedersen Date: Wed, 12 Jun 2019 20:04:31 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 040484a..f8351d5 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ Docker container for wsdd.py ## Running container ### From command line -docker run --net=host -e HOSTNAME=$(hostname) jonasped/wsdd +`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: +` wsdd: image: "jonasped/wsdd" environment: - HOSTNAME=NETBIOS_NAME restart: unless-stopped - network_mode: "host" + network_mode: "host"`