Skip to content
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

[BUG] Docker has only blank configuration #6280

Closed
bunnyi116 opened this issue Mar 7, 2023 · 9 comments
Closed

[BUG] Docker has only blank configuration #6280

bunnyi116 opened this issue Mar 7, 2023 · 9 comments

Comments

@bunnyi116
Copy link

Docker has only blank configuration

luci-lib-docker(Auto check)
luci-app-dockerman

截图 2023-03-07 19-52-40

Additional Information:

Uptime:0h 6m 49s
Local Time:2023-03-08 03:55:38
Kernel Version:5.15.98
Model:VMware, Inc. VMware20,1
Architecture:Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
Firmware Version:OpenWrt SNAPSHOT r22241-acb189179c

@bunnyi116 bunnyi116 changed the title Docker has only blank configuration [BUG] Docker has only blank configuration Mar 7, 2023
@jow-
Copy link
Contributor

jow- commented Apr 29, 2023

This seem to happen if the dockerd executable is not present / the dockerd package is not installed. The luci-app-dockerman module should probably depend on it.

@stormwulfren
Copy link

I have dockerd installed and running, faced with the same issue.

@bunnyi116
Copy link
Author

bunnyi116 commented Apr 29, 2023

I tried to remove docker completely and install luci-app-dockerman's Release v0.5.25 ipk offline, and he gave me this hint, which seems to be a problem with the dependent kernel version

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-nft-compat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-compat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ipt-extra
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-extra found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-nf-ipt6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipt6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ip6tables
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ip6tables found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-nf-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ipt-conntrack
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-conntrack found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ipt-nat
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ipt-nat6
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat6 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-br-netfilter
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-br-netfilter found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-ipt-physdev
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-physdev found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-nf-ipvs
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipvs found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-veth
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-veth found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-dockerman:
 * 	kernel (= 5.15.105-1-e469f5589b4c7b368924a6e4f8f7407f)
 * opkg_install_cmd: Cannot install package luci-app-dockerman.

image

@stokito
Copy link
Contributor

stokito commented Aug 9, 2023

I installed the dockerd but had a problem when the /etc/config/dockerd was already exists but empty and I had to replace it with opkg version mv /etc/config/dockerd-opkg /etc/config/dockerd. Then after reboot everything works fine.

@kpoman
Copy link

kpoman commented Oct 20, 2023

I installed the dockerd but had a problem when the /etc/config/dockerd was already exists but empty and I had to replace it with opkg version mv /etc/config/dockerd-opkg /etc/config/dockerd. Then after reboot everything works fine.

Worked as a charm

@Yur0K
Copy link

Yur0K commented Jan 21, 2024

Can anyone share the dockerd file (or contents of it)? I have the same issue with /etc/config/dockerdalready exists but empty. And dockerd-opkg is not there as well

@hnyman
Copy link
Contributor

hnyman commented Jan 21, 2024

Can anyone share the dockerd file (or contents of it)?

It is in the package itself...
https://github.com/openwrt/packages/blob/master/utils/dockerd/files/etc/config/dockerd

@stokito
Copy link
Contributor

stokito commented Oct 8, 2024

The dockerd was added as a dependency in scope of the #6985

@systemcrash
Copy link
Contributor

Closed by #6985

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants