『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 2214|回复: 1

[求助] 关于树莓派4b centos7系统安装docker 部署hass问题

[复制链接]

1

主题

21

帖子

106

积分

注册会员

Rank: 2

积分
106
金钱
85
HASS币
0
发表于 2021-6-2 16:39:03 | 显示全部楼层 |阅读模式
arm架构的docker run docker的时候总报错 run其他镜像的时候无问题只有hass经常run error 麻烦各位大佬帮忙看下 谢谢

#docker run -d --name=homeassistant -v /root/ha:/config -p 8123:8123 homeassistant/armhf-homeassistant
62765fd2643db202f881a5deebbf443e0e78dc27746ba652cb0712489a70f66d
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "process_linux.go:339: running prestart hook 2 caused "error running hook: exit status 1, stdout: , stderr: "".

#docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.13.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins: 
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 66aedde759f33c190954815fb765eedc1d782dd9 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
 selinux
Kernel Version: 5.4.115-v7l.1.el7
Operating System: CentOS Linux 7 (AltArch)
OSType: linux
Architecture: armv7l
Number of Docker Hooks: 3
CPUs: 4
Total Memory: 7.692 GiB
Name: 192.168.1.16
ID: OGI7:E5YN:7GQQ:VENR:C3FH:ESCW:GCBQ:REZE:LWGD:VWBP:JNNO:2F5W
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://9cpn8tt6.mirror.aliyuncs.com
Live Restore Enabled: false
Registries: docker.io (secure)

#uname -a
Linux 192.168.1.16 5.4.115-v7l.1.el7 #1 SMP Tue May 4 19:42:23 UTC 2021 armv7l armv7l armv7l GNU/Linux

[[email protected] /root] 
#cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (AltArch)

[[email protected] /root] 
#
回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
发表于 2021-6-3 08:29:52 | 显示全部楼层
docker 现在直接 pull  homeassistant/home-assistant 就好 不需要分什么 armhf 还是 v8 什么的 docker 自动会下载正确的镜像
Nero
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-2 06:26 , Processed in 0.145760 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表