packages
packages copied to clipboard
dockerd 和 luci-app-docker 有些文件都有导致安装失败
dockerd 的 Makefile里有文件 /etc/config/dockerd
/etc/docker/daemon.json
/etc/init.d/dockerd
https://github.com/coolsnowwolf/packages/blob/d6af0a64cf83e5094a88456769a36a2e0ede732e/utils/dockerd/Makefile#L116-L131
但是 luci-app-docker
依赖 dockerd,它也有文件这三个文件
https://github.com/coolsnowwolf/luci/tree/master/applications/luci-app-docker/root/etc/config/dockerd
https://github.com/coolsnowwolf/luci/tree/master/applications/luci-app-docker/root/etc/init.d/dockerd
https://github.com/coolsnowwolf/luci/tree/master/applications/luci-app-docker/root/etc/docker/daemon.json
会导致在安装的时候报错这三个文件冲突:
ConfigCollected errors:
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/config/dockerd
But that file is already provided by package * dockerd
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/docker/daemon.json
But that file is already provided by package * dockerd
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/init.d/dockerd
But that file is already provided by package * dockerd
* opkg_install_cmd: Cannot install package luci-app-docker.
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/config/dockerd
But that file is already provided by package * dockerd
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/docker/daemon.json
But that file is already provided by package * dockerd
* check_data_file_clashes: Package luci-app-docker wants to install file /root/op/openwrt-imagebuilder-rockchip-armv8.Linux-x86_64/build_dir/target-aarch64_generic_musl/root-rockchip/etc/init.d/dockerd
But that file is already provided by package * dockerd
我在老旧的机器上看到这三个文件都属于 luci-app-docker
root@OpenWrt:~# opkg search /etc/config/dockerd
luci-app-docker - 1-12
root@OpenWrt:~# opkg search /etc/init.d/dockerd
luci-app-docker - 1-12
root@OpenWrt:~# opkg search /etc/docker/daemon.json
luci-app-docker - 1-12
@coolsnowwolf PATL
@coolsnowwolf @AmadeusGhost
@coolsnowwolf @AmadeusGhost
我对比了 openwrt的仓库和编译出的固件,这三个文件都应该是 dockerd 包的,luci-app-docker这个包官方也没有,这个包不应该抢这三个文件。我删掉 luci-app-docker
后,去用 luci-app-dockerman
就了,不理解luci-app-docker
包的目的是干啥