sipeed / LonganPi-3H-SDK

LonganPi 3H SDK
GNU General Public License v3.0
28 stars 14 forks source link

kernel about docker #50

Closed windskyxb closed 4 months ago

windskyxb commented 4 months ago

After I have built the Rootfs of Ubuntu using mkrootfs-ubuntu-cli.sh and packaged the image, I can install Docker normally. But I got an error when I tried to run Docker. Use journalctl-u docker.service to check the error report as follows: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DOCKER: iptables failed: iptables-t nat-N DOCKER: iptables/1.8.7 Failed to initialize nft: Protocol not supported. How can I modify the kernel options so that docker works properly?

lonerkim commented 4 months ago

I suspect this also would help kernel settings for docker but that was, non-tech background person's struggle.

so you can try it at your own risk(my 4 Lpi3H successfully boot/run k3s on those setting with TFcards)

windskyxb commented 4 months ago

I suspect this also would help kernel settings for docker but that was, non-tech background person's struggle.

so you can try it at your own risk(my 4 Lpi3H successfully boot/run k3s on those setting with TFcards)

Thank you for your reply!

windskyxb commented 4 months ago

I suspect this also would help kernel settings for docker but that was, non-tech background person's struggle.

so you can try it at your own risk(my 4 Lpi3H successfully boot/run k3s on those setting with TFcards)

With reference to your modification, I successfully ran Dockers!