Docker setup and usage on OpenWRT?

As title. just wondering if there’s any general guides on Docker usage with OpenWRT as a host? I’ve not used Docker before so it’s altogether confusing, and the limitations imposed by OpenWRT compound this. Tried to clone Docker-compose SearXNG github and that failed (http/s isn’t a git function on OpenWRT compared to Ubuntu), using a copy of another machine’s git-clone also failed, adding it manually via luci-app-dockerman refuses to start. Seems like Docker is belligerent about functioning at all on OpenWRT.

OpenWrt firewall is "strict" - you have to provide your own redirect/dnat rules as exports in docker specs will do nothing. Somewhat similar to fedora firewall, they have more documentation though the way to "open port" is different.

1 Like

Fixed this, had to ensure that the container was running on bridge network and that the docker0 firewall allowed forwarding to wan/vpn