首页 > 其他分享 >docker 安装 ha supervisor [aarch64]

docker 安装 ha supervisor [aarch64]

时间:2023-05-12 18:55:11浏览次数:52  
标签:hassio supervisor aarch64 assistant hours docker homeassistant

克隆镜像

下载 hassio-supervisor, homeassistant 镜像

打开网址下面两个网址,获取最新版本镜像,使用docker pull拉取镜像
https://github.com/home-assistant/supervisor/pkgs/container/aarch64-hassio-supervisor
https://github.com/home-assistant/core/pkgs/container/aarch64-homeassistant

下载其他依赖镜像

打开网址 https://version.home-assistant.io/stable.json

  "cli": "2022.11.0",
  "dns": "2022.04.1",
  "audio": "2023.04.1",
  "multicast": "2022.02.0",
  "observer": "2021.10.0",
  "image": {
    "core": "homeassistant/{machine}-homeassistant",
    "supervisor": "homeassistant/{arch}-hassio-supervisor",
    "cli": "homeassistant/{arch}-hassio-cli",
    "audio": "homeassistant/{arch}-hassio-audio",
    "dns": "homeassistant/{arch}-hassio-dns",
    "observer": "homeassistant/{arch}-hassio-observer",
    "multicast": "homeassistant/{arch}-hassio-multicast"
  },

根据网址中这段信息,分别拉取对应的 cli, dns, audio, multicast, observer 镜像

启动容器

docker run -d --name hassio_supervisor --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /data/apps/hassio:/data \
-e SUPERVISOR_SHARE=/data/apps/hassio \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY=homeassistant/aarch64-homeassistant \
ghcr.io/home-assistant/aarch64-hassio-supervisor:2023.05.dev0901  # <--- 这里需要替换tag

启动成功时对应容器信息

$ docker ps -a
CONTAINER ID   IMAGE                                                               COMMAND                  CREATED        STATUS                PORTS                                       NAMES
f7dfa720ffeb   ghcr.io/home-assistant/aarch64-homeassistant:2023.6.0.dev20230511   "/init"                  5 hours ago    Up 18 minutes                                                     homeassistant
0a37d5197315   ghcr.io/home-assistant/aarch64-hassio-multicast:2022.02.0           "/init"                  5 hours ago    Up 5 hours                                                        hassio_multicast
2420a2d63391   ghcr.io/home-assistant/aarch64-hassio-observer:2021.10.0            "/init"                  5 hours ago    Up 5 hours            0.0.0.0:4357->80/tcp, :::4357->80/tcp       hassio_observer
b91a2c84c7ad   ghcr.io/home-assistant/aarch64-hassio-audio:2023.04.1               "/init"                  5 hours ago    Up 5 hours                                                        hassio_audio
910e05db573b   ghcr.io/home-assistant/aarch64-hassio-dns:2022.04.1                 "/init"                  5 hours ago    Up 5 hours                                                        hassio_dns
6d5db0fb7f2f   ghcr.io/home-assistant/aarch64-hassio-cli:2023.01.0                 "/init"                  5 hours ago    Up 5 hours                                                        hassio_cli
743064e8780d   ghcr.io/home-assistant/aarch64-hassio-supervisor:2023.05.dev0901    "/init"                  5 hours ago    Up 18 minutes                                                     hassio_supervisor

标签:hassio,supervisor,aarch64,assistant,hours,docker,homeassistant
From: https://www.cnblogs.com/gopher-zero/p/17396055.html

相关文章

  • Docker 安装 Tomcat
    方法一、dockerpulltomcat查找DockerHub上的tomcat镜像runoob@runoob:~/tomcat$dockersearchtomcatNAMEDESCRIPTIONSTARSOFFICIALAUTOMATEDtomcatApacheTomcatisanopensou......
  • Docker 安装 Redis
    方法一、dockerpullredis:3.2查找DockerHub上的redis镜像runoob@runoob:~/redis$dockersearchredisNAMEDESCRIPTIONSTARSOFFICIALAUTOMATEDredisRedisisanopensource...2321[OK]sa......
  • docker 学习
    docker是基于linux系统的1.docker安装(需要联网)1.1卸载旧版本(\表示连接符) $sudoyumremovedocker\docker-client\docker-client-latest\docker-common\docker-latest\docker-lates......
  • docker 容器中 ip addr 出现 bash: ip: commandnot found
    一、服务器中输入命令#启动tomcat容器别名tomcat1dockerrun-d-P--nametomcat1tomcat#进行tomcat1容器dockerexec-ittomcat1/bin/bash二、输入ipaddripaddrbash:ip:commandnotfound三、解决办法安装工具iproute2#我的服务器是centos的yumi......
  • docker 安装mysql
    一、拉取镜像#拉取镜像dockerpullmysql#或者dockerpullmysql:latest#执行版本dockerpullmysql:5.7#以上两个命令是一致的,默认拉取的就是latest版本的#我们还可以用下面的命令来查看可用版本:dockersearchmysql 二、查看镜像使用以下命令来查看是......
  • centos7断电重启后docker无法启动的其中一种情况
    一、发现问题在一个很久没用docker的虚拟机上想跑一个docker容器,然后发现没启动,通过systemctlstartdocker启动直接报错:Jobfordocker.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusdocker.service"and"journalctl-xe"for......
  • window docker nginx容器 创建容器,把本地目录可以映射到nginx容器中
    在Windows环境下,您可以按照以下步骤创建一个映射了本地目录的Nginx容器:1.首先,创建一个本地目录,例如`C:\nginx`。2.使用以下命令启动Nginx容器,并将本地目录映射到容器中:```shdockerrun--namemy-nginx-p8080:80-vC:/nginx:/usr/share/nginx/html:ro-dnginx......
  • 服务器docker上部署python项目
    1.docker准备python环境与项目代码1.1查看docker内所有镜像://查看正在运行的镜像sudodockerimages//查看所有镜像sudodockerimages-a1.2查看docker内所有容器://查看正在运行的容器sudoduckerps//查看所有容器sudodockerps-a1.3docker安装anaconda镜像......
  • oracle11 docker-compose.yml,启动时导入sql文件
    version:'3'services:oracle:image:wnameless/oracle-xe-11g-r2container_name:oracle11gr2environment:-'NLS_LANG=AMERICAN_AMERICA.AL32UTF8'volumes:-"./create.sql:/docker-entrypoint-initdb.d/......
  • 安装docker 和docker-compose脚本
    安装docker和docker-compose#!/bin/bashfunctiondocker_install(){echo"检测Docker是否安装..."docker-vif[$?-ne0];thenecho"检测到Docker未安装!"echo"*****开始安装docker工具*****"ehco"......