找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 14936|回复: 9

docker拉取镜像成功,但无法启动,求解决。

[复制链接]
发表于 2024-3-27 21:59 | 显示全部楼层 |阅读模式
今天安装小雅 alist tvbox   开始过程很顺利,拉取镜像也提示成功,但最后出来一个 错误提示:docker: Error response from daemon: failed to update store for object type *libnetwork.endpointCnt: Key not found in store。容器里能看到,但无法启动,奇怪的是端口那项是空的。docker迁移到了外置移动硬盘,就安了这一个容器,没有其他的。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2024-3-27 22:49 | 显示全部楼层
你看下你的创建容器的命令
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-27 23:27 | 显示全部楼层
安装过程中需要准备个人资料。3个
缓存目录,开放token,短token。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2024-3-28 08:38 | 显示全部楼层
本帖最后由 lyyslsf 于 2024-3-28 08:40 编辑

都填过了  也拉取成功了  最后报错

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-28 10:54 来自手机 | 显示全部楼层

点评

执行systemctl restart docker命令,提示not found  详情 回复 发表于 2024-3-28 11:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2024-3-28 11:26 | 显示全部楼层
那些年偷过的网 发表于 2024-3-28 10:54
Docker引擎报错了,重启Docker服务试试

如果不行,就看看:

执行systemctl restart docker命令,提示not found

点评

More than one year later and I fixed this issue restarting the docker service as @Gisleburt commented. Its worth mention that I am using the docker service in one partition and pointing the images to  详情 回复 发表于 2024-3-28 17:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-28 12:41 | 显示全部楼层
你应该是挂载点没有正确设置吧,我你正确启动。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2024-3-28 12:55 | 显示全部楼层
hong0980 发表于 2024-3-28 12:41
你应该是挂载点没有正确设置吧,我你正确启动。

我也考虑过这个问题,因为外挂移动硬盘后,做过docker迁移,迁移到了/mnt/sda1/docker下,挂载点也显示了,之所以做迁移,是因为迁移前安装容器,能在容器里能看到,镜像也有,就是无法启动,点启动就报错。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-28 17:13 | 显示全部楼层
lyyslsf 发表于 2024-3-28 11:26
执行systemctl restart docker命令,提示not found

More than one year later and I fixed this issue restarting the docker service as @Gisleburt commented.

Its worth mention that I am using the docker service in one partition and pointing the images to another one, here is my daemon.json:

{
    "storage-driver": "overlay",
    "graph": "/mnt/aabfaa12-123s-48ab-a25d-asdas121/docker",
    "cgroup-parent": "/docker_limit.slice"
}
Then I executed: systemctl restart docker and it worked again.

点评

镜像跟docker分别使用不同的分区?  详情 回复 发表于 2024-3-29 14:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2024-3-29 14:40 | 显示全部楼层
那些年偷过的网 发表于 2024-3-28 17:13
More than one year later and I fixed this issue restarting the docker service as @Gisleburt commen ...

镜像跟docker分别使用不同的分区?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 23:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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