From f21f3d6cd5e786b6cd880c01e50f7bdd5649cd39 Mon Sep 17 00:00:00 2001 From: PatSki123 Date: Mon, 13 Apr 2020 02:31:25 -0400 Subject: [PATCH] =?UTF-8?q?Cleaned=20up=20Docker=20Run=20Command=20under?= =?UTF-8?q?=20"Z-Wave"=20&=20"Bluetooth"=20sec=E2=80=A6=20(#12389)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Cleaned up Docker Run Command under "Z-Wave" & "Bluetooth" section Need to make it match the format of the other run commands in the page. * :pencil2: Tweak Co-authored-by: Franck Nijhof --- source/_docs/installation/docker.markdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/_docs/installation/docker.markdown b/source/_docs/installation/docker.markdown index 194fbac0c27..30f4f48d781 100644 --- a/source/_docs/installation/docker.markdown +++ b/source/_docs/installation/docker.markdown @@ -175,7 +175,10 @@ If you want to use a USB Bluetooth adapter or Z-Wave USB stick with Home Assista The above command should show you any USB devices plugged into your NAS. If you have more than one, you may get multiple items returned. Like : `ttyACM0` - Run Docker command: - `docker run --init --name home-assistant --net=host --privileged -itd -v /share/CACHEDEV1_DATA/Public/homeassistant/config:/config -e variable=TZ -e value=Europe/London --device /dev/ttyACM0 homeassistant/home-assistant:stable` + + ```bash + docker run --init --name home-assistant --net=host --privileged -itd -v /share/CACHEDEV1_DATA/Public/homeassistant/config:/config -e TZ=Europe/London --device /dev/ttyACM0 homeassistant/home-assistant:stable + ``` `-v` is your configuration path `-e` is set timezone @@ -193,7 +196,10 @@ That will tell Home Assistant where to look for our Z-Wave radio. - Connect to your NAS over SSH - Run Docker command: - `docker run --init --name home-assistant --net=host --privileged -itd -v /share/CACHEDEV1_DATA/Public/homeassistant/config:/config -e variable=TZ -e value=Europe/London -v /dev/bus/usb:/dev/bus/usb -v /var/run/dbus:/var/run/dbus homeassistant/home-assistant:stable` + + ```bash + docker run --init --name home-assistant --net=host --privileged -itd -v /share/CACHEDEV1_DATA/Public/homeassistant/config:/config -e TZ=Europe/London -v /dev/bus/usb:/dev/bus/usb -v /var/run/dbus:/var/run/dbus homeassistant/home-assistant:stable + ``` First `-v` is your configuration path `-e` is set timezone