mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add privileged to docker commands (#18275)
* Add privileged to docker commands * Apply suggestions from code review Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
6699c0d49f
commit
f484c825a7
@ -6,6 +6,7 @@
|
||||
```bash
|
||||
docker run --init -d \
|
||||
--name homeassistant \
|
||||
--privileged \
|
||||
--restart=unless-stopped \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
@ -36,6 +37,7 @@
|
||||
docker run --init -d \
|
||||
--name homeassistant \
|
||||
--restart=unless-stopped \
|
||||
--privileged \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
--network=host \
|
||||
|
@ -8,5 +8,6 @@
|
||||
- /PATH_TO_YOUR_CONFIG:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
network_mode: host
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user