Error running mknod within buildah

Solution 1:

An unprivileged user (rootless) has not enough privileges for using mknod, the kernel blocks that. It doesn't matter how many capabilities are left in the user namespace, it won't still be able to use it.

Please refer the following issue.

It is not possible to use mknod and buildah bud/run --isolation="rootless". You need to ignore mknod or use another isolation. It is not possible to mix them. This is awful and nothing can be done.