{"id":35137936,"url":"https://github.com/imagegenius/docker-esphome","last_synced_at":"2026-05-05T07:02:08.103Z","repository":{"id":45820445,"uuid":"360403922","full_name":"imagegenius/docker-esphome","owner":"imagegenius","description":"Minimal ESPHome Alpine Docker Container","archived":false,"fork":false,"pushed_at":"2026-04-01T20:45:36.000Z","size":484,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T04:19:11.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imagegenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-22T05:37:41.000Z","updated_at":"2026-04-01T20:32:14.000Z","dependencies_parsed_at":"2023-12-31T07:32:27.084Z","dependency_job_id":"9d42fcea-b123-4cbe-b61a-391f354600ed","html_url":"https://github.com/imagegenius/docker-esphome","commit_stats":null,"previous_names":[],"tags_count":698,"template":false,"template_full_name":null,"purl":"pkg:github/imagegenius/docker-esphome","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-esphome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-esphome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-esphome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-esphome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagegenius","download_url":"https://codeload.github.com/imagegenius/docker-esphome/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagegenius%2Fdocker-esphome/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31430013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-28T10:15:57.017Z","updated_at":"2026-04-05T09:03:36.188Z","avatar_url":"https://github.com/imagegenius.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- DO NOT EDIT THIS FILE MANUALLY --\u003e\n\u003c!-- Please read https://github.com/imagegenius/docker-esphome/blob/main/.github/CONTRIBUTING.md --\u003e\n\n# [imagegenius/esphome](https://github.com/imagegenius/docker-esphome)\n\n[![GitHub Release](https://img.shields.io/github/release/imagegenius/docker-esphome.svg?color=007EC6\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/imagegenius/docker-esphome/releases)\n[![GitHub Package Repository](https://shields.io/badge/GitHub%20Package-blue?logo=github\u0026logoColor=ffffff\u0026style=for-the-badge)](https://github.com/imagegenius/docker-esphome/packages)\n[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026jobUrl=https%3A%2F%2Fci.imagegenius.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-esphome%2Fjob%2Fmain%2F\u0026logo=jenkins)](https://ci.imagegenius.io/job/Docker-Pipeline-Builders/job/docker-esphome/job/main/)\n[![IG CI](https://img.shields.io/badge/dynamic/yaml?color=007EC6\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=CI\u0026query=CI\u0026url=https%3A%2F%2Fci-tests.imagegenius.io%2Fesphome%2Flatest-main%2Fci-status.yml)](https://ci-tests.imagegenius.io/esphome/latest-main/index.html)\n\nESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.\n\n[![esphome](https://esphome.io/_static/logo-text.svg)](https://esphome.io/)\n\n## Supported Architectures\n\nWe use Docker manifest for cross-platform compatibility. More details can be found on [Docker's website](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list).\n\nTo obtain the appropriate image for your architecture, simply pull `ghcr.io/imagegenius/esphome:latest`. Alternatively, you can also obtain specific architecture images by using tags.\n\nThis image supports the following architectures:\n\n| Architecture | Available | Tag |\n| :----: | :----: | ---- |\n| x86-64 | ✅ | amd64-\\\u003cversion tag\\\u003e |\n| arm64 | ✅ | arm64v8-\\\u003cversion tag\\\u003e |\n| armhf | ❌ | |\n\n## Version Tags\n\nThis image offers different versions via tags. Be cautious when using unstable or development tags, and read their descriptions carefully.\n\n| Tag | Available | Description |\n| :----: | :----: |--- |\n| latest | ✅ | Latest ESPHome release with an Alpine Base. |\n| ubuntu | ✅ | Latest ESPHome release with an Ubuntu base. |\n\n## Application Setup\n\nAccess the webui at `\u003cyour-ip\u003e:6052`, for more information check out [ESPHome](https://esphome.io/).\n\n## Usage\n\nExample snippets to start creating a container:\n\n### Docker Compose\n\n```yaml\n---\nservices:\n  esphome:\n    image: ghcr.io/imagegenius/esphome:latest\n    container_name: esphome\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Etc/UTC\n      - ESPHOME_DASHBOARD_USE_PING=false #optional\n    volumes:\n      - path_to_appdata:/config\n    ports:\n      - 6052:6052\n    restart: unless-stopped\n```\n\n### Docker CLI ([Click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))\n\n```bash\ndocker run -d \\\n  --name=esphome \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e ESPHOME_DASHBOARD_USE_PING=false `#optional` \\\n  -p 6052:6052 \\\n  -v path_to_appdata:/config \\\n  --restart unless-stopped \\\n  ghcr.io/imagegenius/esphome:latest\n```\n\n## Parameters\n\nTo configure the container, pass variables at runtime using the format `\u003cexternal\u003e:\u003cinternal\u003e`. For instance, `-p 8080:80` exposes port `80` inside the container, making it accessible outside the container via the host's IP on port `8080`.\n\n| Parameter | Function |\n| :----: | --- |\n| `-p 6052` | WebUI Port |\n| `-e PUID=1000` | UID for permissions - see below for explanation |\n| `-e PGID=1000` | GID for permissions - see below for explanation |\n| `-e TZ=Etc/UTC` | Specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |\n| `-e ESPHOME_DASHBOARD_USE_PING=false` | Use ping rather than mDNS to get device status, set to true if devices are appearing offline |\n| `-v /config` | Appdata Path |\n\n## Umask for running applications\n\nAll of our images allow overriding the default umask setting for services started within the containers using the optional -e UMASK=022 option. Note that umask works differently than chmod and subtracts permissions based on its value, not adding. For more information, please refer to the Wikipedia article on umask [here](https://en.wikipedia.org/wiki/Umask).\n\n## User / Group Identifiers\n\nTo avoid permissions issues when using volumes (`-v` flags) between the host OS and the container, you can specify the user (`PUID`) and group (`PGID`). Make sure that the volume directories on the host are owned by the same user you specify, and the issues will disappear.\n\nExample: `PUID=1000` and `PGID=1000`. To find your PUID and PGID, run `id user`.\n\n```bash\n  $ id username\n    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)\n```\n\n\n## Updating the Container\n\nMost of our images are static, versioned, and require an image update and container recreation to update the app. We do not recommend or support updating apps inside the container. Check the [Application Setup](#application-setup) section for recommendations for the specific image.\n\nInstructions for updating containers:\n\n### Via Docker Compose\n\n* Update all images: `docker-compose pull`\n  * or update a single image: `docker-compose pull esphome`\n* Let compose update all containers as necessary: `docker-compose up -d`\n  * or update a single container: `docker-compose up -d esphome`\n* You can also remove the old dangling images: `docker image prune`\n\n### Via Docker Run\n\n* Update the image: `docker pull ghcr.io/imagegenius/esphome:latest`\n* Stop the running container: `docker stop esphome`\n* Delete the container: `docker rm esphome`\n* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)\n* You can also remove the old dangling images: `docker image prune`\n\n## Versions\n\n* **14.04.23:** - switch to gcompat\n* **21.03.23:** - Add service checks\n* **20.01.23:** - Add aarch64 support.\n* **02.01.23:** - Initial Release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagegenius%2Fdocker-esphome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagegenius%2Fdocker-esphome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagegenius%2Fdocker-esphome/lists"}