-
Notifications
You must be signed in to change notification settings - Fork 86
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
Provide a guide for using the image #93
Comments
I merely used the rootfs for CI testing and not as a real deployment. If you have something specific in mind, please elaborate and we can see how to work things out. Generally you can tell Docker to create multiple network interfaces for the router, on first boot OpenWrt will create by default a LAN interface (dhcp server) on eht0 and (if exists) a WAN interface (dhcp client) on eth1. Docker on the other hand automatically assigns IP addresses to container network interfaces. To make this work, you'd need to create an appropriate Another step could be to improve the default configuration of the |
My plan was using openwrt as home router. I am running arch linux on an always on server machine that I want to deploy other containers to. My current home router is a bit slow though i was interested in trying out openwrt. As I already have an OS installed on the server the only solution i saw was virtualizing openwrt but that turned out to be quite difficult as i am no expert in using kvm nor have any interface other than SSH into the server. Thank you and all the best |
Completely agree with @firstdorsal Special focus on arm target would be great since the market is doing a lot about those device (raspberry but also rockpi) and they are getting more and more network devices. An openwrt cointainer could easily be a must have to managed al these interfaces. Thank you for your time and efford! |
+1, would love to see OpenWRT being able to run as a container on a Raspi4. Currently all of its resources go to waste to run a 5Mb OS, and it would be good to put the other 3.9 cores and 3Gb RAM to some use. |
Containers are somewhat meant to run a single tool and not an operating system including a process manager. Without services like ubusd OpenWrt is not fun. Isn't Alpine an option for you? |
Hi, I found this repo and the docker image but there are no real instructions provided for running it.
Sure there is:
docker run --rm -it openwrtorg/rootfs
but this does not help as it does not get the container running properly:What caps does one need to add to get this running?
Does it need to be in privileged mode?
What devices need to be mounted into the container?
How can the webinterface be launched?
I want to use this image for having a router on my home server in docker for my home network.
Thank you and all the best!
The text was updated successfully, but these errors were encountered: