Skip to content

dockerd24.0.2编译无法通过 #23

@pretendtobefree

Description

@pretendtobefree

dockerd24.0.2编译无法通过,错误出现在最后的配置阶段,错误信息如下:
Collected errors:

  • check_data_file_clashes: Package libnetwork wants to install file /mnt/data/lede/build_dir/target-x86_64_musl/root-x86/usr/bin/docker-proxy
    But that file is already provided by package * dockerd
  • opkg_install_cmd: Cannot install package libnetwork.
    make[2]: *** [package/Makefile:70: package/install] Error 255

如果将Makefile文件中的下述指令屏蔽
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bundles/binary-daemon/docker-proxy $(1)/usr/bin/
编译可以通过,但启动后点击Dockerman菜单的《概览》,报错如下
/usr/lib/lua/luci/dispatcher.lua:477: Failed to execute cbi dispatcher target for entry '/admin/docker/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/dockerman/overview.lua:127: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:477: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
不知应该如何解决?谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions