Docker Community Forums

Share and learn in the Docker community.

Automated build multiple architectures' images on docker hub

I’m trying to configure automated build with QEMU.
But I failed on installing some necessary packages.
I got this error on docker hub

Setting up qemu-user-static (1:2.5+dfsg-5ubuntu10.41) …
update-binfmts: warning: Couldn’t load the binfmt_misc module.

I found the module is there.
I think that this is permission problem.

$ modinfo /lib/modules/4.4.0-1060-aws/kernel/fs/binfmt_misc.ko
filename: /lib/modules/4.4.0-1060-aws/kernel/fs/binfmt_misc.ko
license: GPL
alias: fs-binfmt_misc
srcversion: D2B5D202BA235ED4DE4D79C
depends:
retpoline: Y
intree: Y
vermagic: 4.4.0-1060-aws SMP mod_unload modversions retpoline

$ insmod /lib/modules/4.4.0-1060-aws/kernel/fs/binfmt_misc.ko
insmod: ERROR: could not insert module /lib/modules/4.4.0-1060-aws/kernel/fs/binfmt_misc.ko: Operation not permitted

Do we have any way to do automated build with multiple architectures’ images on docker hub?