mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Updated the command for updating Compose setups (#16337)
For users with more than one service defined in their Docker Compose file, it's often preferable to update only that image - otherwise, running `up` may result in a restart of other, unrelated containers.
This commit is contained in:
parent
9757e3a3a2
commit
55df27924f
@ -266,10 +266,12 @@ docker-compose restart
|
|||||||
To update your docker-compose image to the latest version and restart:
|
To update your docker-compose image to the latest version and restart:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose pull
|
docker-compose pull homeassistant
|
||||||
docker-compose up -d --build homeassistant
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: the above will fetch the latest matching image for the `homeassistant` service only. To fetch all matching images for all services defined in the same `docker-compose.yaml` file, omit the service name from the first command.
|
||||||
|
|
||||||
## Exposing Devices
|
## Exposing Devices
|
||||||
|
|
||||||
In order to use Z-Wave, Zigbee or other integrations that require access to devices, you need to map the appropriate device into the container. Ensure the user that is running the container has the correct privileges to access the `/dev/tty*` file, then add the device mapping to your Docker command:
|
In order to use Z-Wave, Zigbee or other integrations that require access to devices, you need to map the appropriate device into the container. Ensure the user that is running the container has the correct privileges to access the `/dev/tty*` file, then add the device mapping to your Docker command:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user