Skip to content

Commit 4118ecb

Browse files
author
D
committed
artical by Thomas Huffert
1 parent 27dd2ac commit 4118ecb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,23 @@ sudo rm -rf ~/EspruinoHub
144144
Run with Docker
145145
---------------
146146

147+
More information how work Bluetooth in docker you can read in artical "[How to run containerized Bluetooth applications with BlueZ](https://medium.com/omi-uulm/how-to-run-containerized-bluetooth-applications-with-bluez-dced9ab767f6)" by Thomas Huffert
148+
147149
Install:
148150

149151
docker pull ghcr.io/espruino/espruinohub
150152

151153
Run from the directory containing your `config.json`:
152154

153-
docker run -d -v $PWD/config.json:/data/config.json:ro --restart=always --net=host --name espruinohub ghcr.io/espruino/espruinohub
155+
docker run -d -v $PWD/config.json:/data/config.json:ro --restart=always --net=host --privileged --name espruinohub ghcr.io/espruino/espruinohub
154156

155157
Example for `docker-compose.yml`
156158

157159
espruinohub:
158160
image: ghcr.io/espruino/espruinohub
159161
hostname: espruinohub
160162
container_name: espruinohub
163+
privileged: true
161164
environment:
162165
- TZ=Europe/Amsterdam
163166
- NOBLE_HCI_DEVICE_ID=0

0 commit comments

Comments
 (0)