mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix docker command (#18564)
This commit is contained in:
parent
3ba917f628
commit
86436ca1a7
@ -4,11 +4,11 @@
|
||||
content: |
|
||||
|
||||
```bash
|
||||
docker run --init -d \
|
||||
docker run -d \
|
||||
--name homeassistant \
|
||||
--privileged \
|
||||
--restart=unless-stopped \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
-e TZ=MY_TIME_ZONE \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
--network=host \
|
||||
{{ include.image | default: site.installation.container.base }}:{{ include.tag | default: 'stable' }}
|
||||
@ -34,12 +34,12 @@
|
||||
|
||||
```bash
|
||||
# finally, start a new one
|
||||
docker run --init -d \
|
||||
docker run -d \
|
||||
--name homeassistant \
|
||||
--restart=unless-stopped \
|
||||
--privileged \
|
||||
-e TZ=MY_TIME_ZONE \
|
||||
-v /PATH_TO_YOUR_CONFIG:/config \
|
||||
-v /etc/localtime:/etc/localtime:ro \
|
||||
--network=host \
|
||||
{{ include.image | default: site.installation.container.base }}:{{ include.tag | default: 'stable' }}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user