-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci-app-dockerman: Add dockerd and docker-compose as dependency #6985
Conversation
Does |
Is openwrt updated to |
I don't think so, at least I can't see anything in |
Can you elaborate on what you mean? Is there a newer version of |
|
The docker compose v2 changed command to The PR shouldn't be merged. The dockerman is a client for the Docker that uses REST API. It doesn't call the You still can install Instead we may show a message for a user to clarify this and propose to execute Ideally before any changes we need to sync the dockerman with upstream version from https://github.com/lisaac/luci-app-dockerman. |
See what I did in luci-app-910nd. There may be better ways of achieving it, but this works. |
I think this would be a fairly niche setup. When I install |
From my point of view, if I install luci-app-dockerman, then dockerd should run on the router and thus be installed as a dependency. The application luci-app-dockerman is therefore only intended as a little helper for the LuCI. This means that luci-app-dockerman should make it possible to quickly run a container on the router and monitor it. I would not do a complex setup via the LuCI with luci-app-dockerman but via docker-compose via the cli. So nothing big. If you need a more professional configuration and status interface, then we should use other applications, for example https://www.portainer.io. |
I fixed the Wiki, please review |
Hi @tklengyel any refresh on this? @feckert any other opinions? I think this is acceptable as a new dep. If no changes, we can merge. |
The fix on the wiki was a good enough solution to me but if you think it's good to merge this PR anyway I think that's a more robust solution. |
If this covers 99% of usage and we don't have an other fix e.g. "Install docker" button then let's merge it. @tklengyel please move it from draft |
@tklengyel please do not include merge commits. Just do a rebase. |
Done. Figured I'll try out Github's update branch button not realizing that by default it does a merge 👎🏻 |
@systemcrash could you merge the PR? @sys-default the dockerd dependency problems is a separate topic. It should be possible to install it. |
When installing luci-app-dockerman the webui appears empty and unusable if these dependencies are not installed. Fix it by declaring them. Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
When installing luci-app-dockerman the webui appears empty and unusable if these dependencies are not installed (see https://forum.openwrt.org/t/luci-app-dockerman-missing-configuration-on-23-05-02/184043). Fix it by declaring them.
CC @lisaac