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

kernel about docker #50

Closed
windskyxb opened this issue Apr 15, 2024 · 3 comments
Closed

kernel about docker #50

windskyxb opened this issue Apr 15, 2024 · 3 comments

Comments

@windskyxb
Copy link

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
Copy link

lonerkim commented Apr 24, 2024

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
Copy link
Author

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
Copy link
Author

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!

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

2 participants