找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 568|回复: 6

docker安装后无法运行是什么原因?

[复制链接]
发表于 2024-1-26 10:36 | 显示全部楼层 |阅读模式
openwrt下安装了docker
过程一切正常
是缺少了什么安装依赖吗?
还是安装后要运行什么配置?

root@OpenWrt:~# opkg install docker
Installing docker (24.0.5-1) to root...
Downloading http://downloads.openwrt.org/rel ... 5-1_mipsel_24kc.ipk
Configuring docker.
root@OpenWrt:~# /etc/init.d/docker start
-ash: /etc/init.d/docker: not found
root@OpenWrt:~# opkg install docker-compose
Installing docker-compose (2.18.1-1) to root...
Downloading http://downloads.openwrt.org/rel ... 1-1_mipsel_24kc.ipk
Configuring docker-compose.
root@OpenWrt:~# docker -v
Docker version 24.0.5, build ced0996

root@OpenWrt:/# docker ps

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


 楼主| 发表于 2024-1-26 10:40 | 显示全部楼层
root@OpenWrt:/overlay# docker version
Client:
Version:           24.0.5
API version:       1.43
Go version:        go1.21.5
Git commit:        ced0996
Built:             Wed Jan 24 16:53:41 2024
OS/Arch:           linux/mipsle
Context:           default
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
回复 支持 反对

使用道具 举报

发表于 2024-1-26 11:11 | 显示全部楼层
需要装 dockerd 服务端,mipsle 的芯片不支持,只能装 docker 客户端

点评

折腾好了, Hostname OpenWrt Model Youku YK-L1c Architecture MediaTek MT7620A ver:2 eco:6 Target Platform ramips/mt7620 Firmware Version OpenWrt 22.03.6 r20265-f85a79bcb4 / LuCI openwrt-22.03 branch gi  详情 回复 发表于 2024-1-26 14:16
好的~~~~~~~~~~~~~~~~~  详情 回复 发表于 2024-1-26 11:22
回复 支持 反对

使用道具 举报

 楼主| 发表于 2024-1-26 11:22 | 显示全部楼层
jjit 发表于 2024-1-26 11:11
需要装 dockerd 服务端,mipsle 的芯片不支持,只能装 docker 客户端

好的~~~~~~~~~~~~~~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2024-1-26 14:16 | 显示全部楼层
jjit 发表于 2024-1-26 11:11
需要装 dockerd 服务端,mipsle 的芯片不支持,只能装 docker 客户端

折腾好了,
Hostname        OpenWrt
Model        Youku YK-L1c
Architecture        MediaTek MT7620A ver:2 eco:6
Target Platform        ramips/mt7620
Firmware Version        OpenWrt 22.03.6 r20265-f85a79bcb4 / LuCI openwrt-22.03 branch git-23.292.78392-9f66674
Kernel Version        5.10.201

root@OpenWrt:/overlay/download# docker version
Client:
Version:           20.10.22
API version:       1.41
Go version:        go1.19.13
Git commit:        3a2c30b
Built:             Tue Jan 23 22:36:41 2024
OS/Arch:           linux/mipsle
Context:           default
Experimental:      true

Server:
Engine:
  Version:          20.10.22
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.19.13
  Git commit:       42c8b31
  Built:            Sun Jan 21 11:49:29 2024
  OS/Arch:          linux/mipsle
  Experimental:     false
containerd:
  Version:          1.6.13
  GitCommit:        
runc:
  Version:          1.1.4
  GitCommit:        
docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

root@OpenWrt:/overlay/download# docker pull whyour/qinglong:latest
latest: Pulling from whyour/qinglong
no matching manifest for linux/mipsle in the manifest list entries

可惜青龙面板不支持mipsle

点评

是的,不仅是 青龙,绝大多数的docker镜像都不支持 mipsle,玩docker的话,要么x86,要么arm  详情 回复 发表于 2024-1-26 15:34
回复 支持 反对

使用道具 举报

发表于 2024-1-26 15:34 | 显示全部楼层
kingkei 发表于 2024-1-26 14:16
折腾好了,
Hostname        OpenWrt
Model        Youku YK-L1c

是的,不仅是 青龙,绝大多数的docker镜像都不支持 mipsle,玩docker的话,要么x86,要么arm

点评

docker还能玩啥呢? openwrt好像也玩不了啥  详情 回复 发表于 2024-1-26 15:39
回复 支持 反对

使用道具 举报

 楼主| 发表于 2024-1-26 15:39 | 显示全部楼层
jjit 发表于 2024-1-26 15:34
是的,不仅是 青龙,绝大多数的docker镜像都不支持 mipsle,玩docker的话,要么x86,要么arm ...

docker还能玩啥呢?
openwrt好像也玩不了啥
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-10 11:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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