I use wsl with ubuntu in the windows.
When I run below command in the container
vyos_bld@8153428c7e1f:/vyos$ sudo ./build-vyos-image iso --architecture amd64 --build-by "[email protected]"
I got below error messages.
:
:
I: Validating liblzma5 5.4.1-0.2
I: Validating zlib1g 1:1.2.13.dfsg-1
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy.
P: Running debootstrap...
mknod: /vyos/build/chroot/test-dev-null: Operation not permitted
E: Cannot install into target '/vyos/build/chroot' mounted with noexec or nodev
E: An unexpected failure occurred, exiting...
root@d264c686b80f:/vyos#
I wonder why container can not run mknod command.
When I execute mknod in the WSL it runs well.