Page 1 of 1

Is docker available on Luckfox Lyra?

Posted: 2025-04-15 9:09
by ahendml
I am using Luckfox Lyra ultra w
I am trying to run a project using docker and docker compose
But I can't use docker because of various errors
The most common error is network bridge not found
Can you tell me how to use it?

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-16 7:40
by Crocodile
Hello, the use of docker generally requires the kernel to open iptable NAT bridge cgroup and other configurations, here is a copy of Luckfox-pico to add docker support configuration as a reference, note that Luckfox-pico uses kernel-5.10 and Luckfox-Lyra uses kernel-6.1, some configuration items are different

Code: Select all

CONFIG_POSIX_MQUEUE=y

CONFIG_CGROUPS=y
CONFIG_MEMCG=y
CONFIG_BLK_CGROUP=y
CONFIG_CGROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_DEBUG=y
CONFIG_NAMESPACES=y
CONFIG_USER_NS=y

CONFIG_NETFILTER=y
CONFIG_NF_CONNTRACK=y
CONFIG_NF_TABLES=y
CONFIG_NFT_MASQ=y
CONFIG_NFT_REDIR=y
CONFIG_NFT_NAT=y
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_CGROUP=y
CONFIG_NETFILTER_XT_MATCH_COMMENT=y
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP6_NF_IPTABLES=m
CONFIG_NF_TABLES_BRIDGE=m
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE=m
CONFIG_NET_SCHED=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_CGROUP_NET_PRIO=y

CONFIG_VETH=y
CONFIG_OVERLAY_FS=y

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-17 0:48
by ahendml
Thanks for the reply. Do I need to rebuild the kernel?

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-17 1:03
by Crocodile
Yes, you need to recompile the kernel

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-24 15:14
by ahendml
Crocodile wrote: 2025-04-17 1:03 Yes, you need to recompile the kernel
Does anyone know what has changed in the Ubuntu image version 250417? Is there a page that explains the release version?

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-24 15:33
by ahendml
Crocodile wrote: 2025-04-17 1:03 Yes, you need to recompile the kernel
Could you please build a version of Ubuntu that supports docker and release it officially?

Re: Is docker available on Luckfox Lyra?

Posted: 2025-04-25 1:15
by Crocodile
The new version only adds support for luckfox-config
We can't meet every customer's customization needs for the system, thank you for your understanding