Skip to content

Installing via Docker

Jake Burgy edited this page Sep 8, 2019 · 8 revisions

Installing Via Docker

Using the Public Image (Recommended)

HACC can be loaded from a public image on Docker Hub, find it at: qjake/hacc

Run the following commands:

docker pull qjake/hacc
docker run -p 8095:8095 qjake/hacc

Browse to http://localhost:8095/ and HACC should load. Wasn't that easy? 😁

Default and Alternate OSes and Architectures

The default image is based on Alpine Linux (AMD64). This is one of the fastest and most lightweight images.

If you prefer a different container OS, or you run a different architecture (like ARMv8), the following tags are available:

AMD64

  • qjake/hacc:latest-linux-alpine-amd64 (same as latest)
  • qjake/hacc:latest-linux-debian-amd64
  • qjake/hacc:latest-linux-ubuntu-amd64

ARMv8 (64-bit)

  • qjake/hacc:latest-linux-debian-arm64v8

ARMv7 (32-bit)

  • qjake/hacc:latest-linux-debian-arm32v7 (same as Hass.io addon)

Building Your Own Docker Image From Source

With Linux Containers

This will build a local docker image on your machine of choice.

⚠ Note: This command pulls the current HEAD version of the master branch which may be unstable. If you know what you're doing, change the URL, referencing the docker build documentation to add a git tag or branch to the end to pull a stable version (e.g. ...HADotNet.CommandCenter.git#v0.3.2).

Run this command:

docker build -f Docker/Linux/Dockerfile github.com/qJake/HADotNet.CommandCenter.git

Optionally, include -t youruser/hacc to tag the image.

You should then be able to run it.

Next Steps

Once HACC is up and running, perform the initial system setup.

Clone this wiki locally