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
Re: Is docker available on Luckfox Lyra?
Posted: 2025-12-11 2:57
by _Malay_
I compiled Ubuntu 24.04.3 from
Luckfox Lyra Ultra W and now Docker works perfectly.
Download Ubuntu 24.04.3 with Docker support for the Luckfox Lyra Ultra W -
https://disk.yandex.ru/d/PlIW_k9Ma3i5aA
Code: Select all
Username: root
Password: root
sudo apt update
passwd
sudo adduser ++++
sudo usermod -aG sudo ++++
sudo apt install apt-utils iptables bluez cifs-utils wget curl dbus mc git curl
curl -fsSL get.docker.com | sh
Setting up WiFi via USB connection of the board to the computer and launching the adb server -
https://wiki.luckfox.com/Luckfox-Lyra/Login
Code: Select all
adb shell "cd /home/lyra/aic800/ && make install; reboot"
#test
adb shell nmcli dev wifi list
#connect
nmtui
Re: Is docker available on Luckfox Lyra?
Posted: 2026-04-21 18:16
by virx
Hello!
I know it's an old topic, but where exactly do I need to put these configs before building the kernel
Crocodile wrote: ↑2025-04-16 7:40
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: 2026-04-24 11:01
by Crocodile
It is recommended to make the configuration changes directly in ./build.sh kernelconfig rather than modifying the defconfig file directly, in order to avoid configuration conflicts or missing dependencies that could lead to compilation errors.