Is docker available on Luckfox Lyra?

  • 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
    
  • Thanks for the reply. Do I need to rebuild the kernel?
  • Yes, you need to recompile the kernel
  • 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?
  • 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?
  • 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