Building OpenWrt through Docker

today i am try to building through docker

docker run --rm -v /root/docker/openwrt_sdk/sdk/:/home/sdk/ -it --privileged openwrt/sdk:ramips-mt7621-openwrt-23.05

But when I input "make menuconfig", the results displayed are very few

After exiting the menu, you can see many errors

Is my method wrong?

How to use Docker to compile images


After you have done a checkout
git checkout openwrt-23.05
or if you have done already:
git pull

update the feeds:
./scripts/feeds update -a && ./scripts/feeds install -a

make menuconfig

1 Like

But docker isn’t a operating system…
So what are you running docker on to begin with?

1 Like