lisaac / luci-app-dockerman

Docker Manager interface for LuCI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法创建容器

ShoukakuChuuCC opened this issue · comments

相关提示:
/usr/lib/lua/luci/dispatcher.lua:469: Failed to execute cbi dispatcher target for entry '/admin/docker/newcontainer/opt/adg/opt/adguardhome/opt/adg/opt/adguardhome'.
The called action terminated with an exception:
...sr/lib/lua/luci/model/cbi/dockerman/newcontainer.lua:822: attempt to index upvalue 'create_body' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

创建命令行
docker run --name adguardhome
-v /opt/adg/work:/opt/adguardhome/work
-v /opt/adg/conf:/opt/adguardhome/conf
--restart always
--net host
-d adguard/adguardhome:arm64-latest

相关提示:
/usr/lib/lua/luci/dispatcher.lua:469: Failed to execute cbi dispatcher target for entry '/admin/docker/newcontainer/opt/adg/opt/adguardhome/opt/adg/opt/adguardhome'.
The called action terminated with an exception:
...sr/lib/lua/luci/model/cbi/dockerman/newcontainer.lua:822: attempt to index upvalue 'create_body' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

创建命令行
docker run --name adguardhome
-v /opt/adg/work:/opt/adguardhome/work
-v /opt/adg/conf:/opt/adguardhome/conf
--restart always
--net host
-d adguard/adguardhome:arm64-latest

本地测试无问题
麻烦给出 openwrt 版本、luci 版本、dockerman 版本

OpenWrt R21.7.1.100 / LuCI Master (git-21.188.53404-317d4ad)

Docker 版本 | 20.10.7
Api 版本 | 1.41

OpenWrt R21.7.1.100 / LuCI Master (git-21.188.53404-317d4ad)

Docker 版本 | 20.10.7
Api 版本 | 1.41

dockerman 版本

luci-app-dockerman | v0.5.21-1

ARM平台,设备树莓派4B,最新自编译固件和最新第三方固件的dockerman均无法创建容器
luci-app-docker使用portainer面板创建正常

luci-app-dockerman | v0.5.21-1

ARM平台,设备树莓派4B,最新自编译固件和最新第三方固件的dockerman均无法创建容器
luci-app-docker使用portainer面板创建正常

本仓库没有这个版本号的噢??请确认使用的是本仓库的源吗

是的

feeds.conf.default添加了src-git dockerman https://github.com/lisaac/luci-app-dockerman

同样的问题.

已修复,最近动的比较多,麻烦各位大佬帮忙多测试