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

 找回密码
 立即注册
楼主: lidicn

从零开始【树莓派stretch】安装【docker】【hassio】【debian9】

  [复制链接]

175

主题

2967

帖子

7606

积分

超级版主

我就是六神

Rank: 8Rank: 8

积分
7606
金钱
4614
HASS币
398

活跃会员教程狂人灌水之王

QQ
发表于 2018-4-11 03:11:03 | 显示全部楼层
回复

使用道具 举报

5

主题

257

帖子

1403

积分

金牌会员

Rank: 6Rank: 6

积分
1403
金钱
1146
HASS币
0
发表于 2018-4-13 11:35:08 | 显示全部楼层
pi@raspberrypi:~$ docker run -d -p 9000:9000 --name docker-portainer --restart=always -v
flag needs an argument: 'v' in -v
See 'docker run --help'.
这一步过不去
孜孜不倦的小白用户
回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2018-4-13 12:54:53 | 显示全部楼层
老大,我在  3-3 增加 Docker 仓库镜像时出现问题
执行完 sudo nano /etc/docker/daemon.json
后面就过去不了,怎么办?
QQ截图20180413125049.jpg
回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2018-4-13 14:35:01 | 显示全部楼层
老大,麻烦给看下这个是怎么回事
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/raspi.list
pi@raspberrypi:~ $ sudo apt-get install \
> apt-transport-https \
> ca-certificates \
> curl \
> gnupg2 \
> software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnupg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gnupg gpgv

W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:6
W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:6
W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:6
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:8
W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:8
W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:8
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (non-free/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (non-free/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (contrib/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (contrib/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:5
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (non-free/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (non-free/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (contrib/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (contrib/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:7
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Packages (ui/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Packages (ui/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Translations (ui/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Translations (ui/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:5
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Packages (ui/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Packages (ui/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Translations (ui/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
W: Target Translations (ui/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/raspi.list:4 and /etc/apt/sources.list.d/raspi.list:6
E: Package 'gnupg2' has no installation candidate
E: Unable to locate package software-properties-common
pi@raspberrypi:~ $
回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2018-4-13 14:42:39 | 显示全部楼层
marshmallow 发表于 2018-4-13 14:35
老大,麻烦给看下这个是怎么回事
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ ...

我擦,跟你的错误一样。。。你解决了没?
回复

使用道具 举报

6

主题

106

帖子

479

积分

中级会员

Rank: 3Rank: 3

积分
479
金钱
373
HASS币
0
发表于 2018-4-13 17:10:34 | 显示全部楼层
tomczhen 发表于 2017-11-27 21:50
portainer 有自己的帐号管理功能,如果不做这一步,升级 portainer 容器后帐号配置需要重新设置,一般来 ...

大佬,麻烦指点下,我现在到最后一步了,执行完sudo su后,下面那一句执行不了
进入pi账号,查看hassio-supervisor状态,返回一个-- Logs begin at Thu 2016-11-03 17:16:42 UTC. --
然后ip:8123打不开
回复

使用道具 举报

1

主题

29

帖子

85

积分

注册会员

Rank: 2

积分
85
金钱
56
HASS币
0
发表于 2018-4-13 21:08:17 | 显示全部楼层
感谢分享
回复

使用道具 举报

3

主题

103

帖子

439

积分

论坛积极会员

积分
439
金钱
336
HASS币
0
发表于 2018-4-15 17:46:36 | 显示全部楼层
请问下要怎么降级啊
回复

使用道具 举报

0

主题

34

帖子

105

积分

注册会员

Rank: 2

积分
105
金钱
71
HASS币
0
发表于 2018-4-15 18:20:51 | 显示全部楼层
试一下  支持
回复

使用道具 举报

0

主题

88

帖子

269

积分

中级会员

Rank: 3Rank: 3

积分
269
金钱
181
HASS币
0
发表于 2018-4-18 14:27:48 | 显示全部楼层
从零开始
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 22:04 , Processed in 0.067038 second(s), 34 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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