LuCI APP: luci-app-dockerman & luci-app-diskman

Hi there,

I'm writting a simple docker manager interface for openwrt, now we can use it manages docker on LuCI.

Also here is another LuCI app named luci-app-diskman, which is using for disk management.

I putted it on github, hope its will help someone, and feel free to open issues if there is any problem.

Thanks,
lisaac

10 Likes

It would be nice to port to JavaScript.

howto use luci app-docker?

could you add docker-ce to your source, dockerman require docker-ce. But i don't know how to add docker-ce. Thank you so much!

found this instruction on how to use.

1 Like

How to add luci-app-diskman to source for compile?
I download from github, put it into ~/openwrt/package. But it have error when compile.

make[2]: Entering directory '/home/hass/openwrt/package/utils/mdadm'
echo "mdadm" >> /home/hass/openwrt/staging_dir/target-x86_64_musl/pkginfo/mdadm.default.install
make[2]: Leaving directory '/home/hass/openwrt/package/utils/mdadm'
time: package/utils/mdadm/compile#0.32#0.10#0.42
make[2]: Entering directory '/home/hass/openwrt/package/luci-app-diskman/applications/luci-app-diskman'
find: '/home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/po/*/*.po': No such file or directory
rm -rf /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman.installed /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman
mkdir -p /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman
# install -d -m0755 /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/
# cp -pR /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/root/* /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/
# install -d -m0755 /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/www
# cp -pR /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/htdoc/* /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/www
install -d -m0755 /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/usr/lib/lua/luci
cp -pR /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/luasrc/* /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman/usr/lib/lua/luci/
cp: cannot stat '/home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/luasrc/*': No such file or directory
make[2]: *** [Makefile:92: /home/hass/openwrt/build_dir/target-x86_64_musl/luci-app-diskman/applications/luci-app-diskman/.pkgdir/luci-app-diskman.installed] Error 1
make[2]: Leaving directory '/home/hass/openwrt/package/luci-app-diskman/applications/luci-app-diskman'
time: package/luci-app-diskman/applications/luci-app-diskman/compile#0.22#0.11#0.32
make[1]: *** [package/Makefile:113: package/luci-app-diskman/applications/luci-app-diskman/compile] Error 2
make[1]: Leaving directory '/home/hass/openwrt'
make: *** [/home/hass/openwrt/include/toplevel.mk:236: package/luci-app-diskman/compile] Error 2

Please help!

checking for MOUNT... no
configure: error: Package requirements (mount) were not met:

Package '@LIBSELINUX@', required by 'mount', not found
Package '@LIBCRYPTSETUP@', required by 'mount', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MOUNT_CFLAGS
and MOUNT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Makefile:95: recipe for target '/home/user/wigyori/build_dir/target-arm_xscale_musl_eabi/btrfs-progs-v5.10/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[2]: *** [/home/user/wigyori/build_dir/target-arm_xscale_musl_eabi/btrfs-progs-v5.10/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/home/user/wigyori/feeds/packages/utils/btrfs-progs'
time: package/feeds/packages/btrfs-progs/compile#1.43#0.69#1.86
package/Makefile:111: recipe for target 'package/feeds/packages/btrfs-progs/compile' failed
make[1]: *** [package/feeds/packages/btrfs-progs/compile] Error 2
make[1]: Leaving directory '/home/user/wigyori'
/home/user/wigyori/include/toplevel.mk:222: recipe for target 'package/luci-app-diskman/compile' failed
make: *** [package/luci-app-diskman/compile] Error 2

Have a error too. can anybody help?

I tried to install luci-app-diskman, but its not in the official repo :blush:
So I'd take it this is someone pet project that never made it in because reasons ?

If so that's too bad. It looked really helpful i.c.w. transmission.