Running docker on Openwrt

I'm running OpenWRT 23.xx on a Rpi4B and I've manage to setup and install Docker with dockerd . Usually i would run docker rootless( rootlesskit) mode but based on some research it might not be possible.

I'm trying to have the router serve docker containers via domains within the local network. What are the limitations of running docker rootless mode in terms of network/ interface setup?

I currently have portainer running and with my router ip being 192.168.100.196 and the docker0 bridge being 172.17...xxx(defaults) I'm unable to access the docker via the router's ip.

As a check list what else do I/ should I need to do to set docker up so containers can be accessed via the router's ip?

If there's a wiki on it let me know.

The wiki for it is here, although I noticed many little issues with Docker in OpenWrt when I was messing with it recently. For example it not installing nftables (firewall4) code but using the old firewall3 type iptables code. It's possible this is related to your issue being unable to access it but not sure.

https://openwrt.org/docs/guide-user/virtualization/docker_host

1 Like