Title logo
linuxserver/homeassistant.

63,893 16 arm arm64 amd64

Build Information

General build information for this image

Docker Hub linuxserver/homeassistant
Build Time 15 May 2021 00:16:41
Base Image lsiobase/alpine:3.13
Category Home Automation
Synchronised Yes
Stable Yes
Deprecated No

Support Information

External links and support

Tracked Tags

Known tags which link to a specific branched app version.

Branch Version Built
latest version-2021.5.4 15 May 2021 at 00:16:41

Daily Pull Statistics

Running this as a container

Basic examples for getting this image running as a container

Docker Compose

---
version: "2"
services:
  homeassistant:
    image: linuxserver/homeassistant:version-2021.5.4
    container_name: homeassistant
    network_mode: host
    restart: unless-stopped
    environment:
      - TZ=Europe/London # Specify a timezone to use
      - PUID=1000 # User ID to run as
      - PGID=1000 # Group ID to run as
    volumes:
      - /host/path/to/config:/config # Contains all relevant configuration files.
    devices:
      - /path/to/device:/path/to/device # For passing through USB, serial or gpio devices.

CLI

docker create \
  --name=homeassistant \
  --net=host \
  -e TZ=Europe/London `# Specify a timezone to use` \
  -e PUID=1000 `# User ID to run as` \
  -e PGID=1000 `# Group ID to run as` \
  -v /host/path/to/config:/config `# Contains all relevant configuration files.` \
  --device /path/to/device:/path/to/device `# For passing through USB, serial or gpio devices.` \
  --restart unless-stopped \
  linuxserver/homeassistant:version-2021.5.4