Docker Image How-to

Hi,

I’m trying to understand how to use a Docker image like this one:

openwrt/rootfs:x86-64-openwrt-24.10

Is there an compose example anywhere?

Unpatched OpenWRT does not run in containers. Go ask somewhere else.

@spuds1 For you to ask this here implies very strongly that you do not have the understanding of the technicalities of how that would work in the first place.

Rather than just telling you to go away and discover for yourself how OCI containers might be integrated with system level networking to provide a ‘software firewall’ as a containerised service, I will suggest to you that:

a) you ought to understand why this is usually a bad idea

b) you will need to provide a managed environment which provides a view of networking to the OCI container running any firewall ‘application’

c) If you don’t have detailed Linux virtualisation and Networking knowledge already then you might start by going off and looking at lxc/lxd, or Podman/Quadlet or Proxmox / lxc

If you gain sufficient understanding to choose which environment might be appropriate for your needs, one of those communities might be able to help you with your questions.

If you just want to experiment and learn about openWRT on X86 best to do it on real hardware first.

This community can help you with that. There is plenty of knowledge available here if you take the time to search these forums.

:wink:

1 Like

You can do it in a x86 virtual machine, the container problem is that you have to patch away internal "procd-ujail" sandboxes, and the console command shell is not bash but somewhat limited busybox ash , so most examples on the webs need some adjustment.

Thanks. I’ll consider what to do next.