Make iso failed


Hello, developers.

I tried to build iso image in my environment. But, I got the following error.
Does anyone encountered this error? and knows how to fix this error?

  • OS: macOS 10.14
  • Docker:
  • vyos-build(78d69b0c252ba82da6bd4dbcbe50037052d58668)
git clone
cd vyos-build
docker build -t vyos-builder docker
docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos-builder bash
make iso


I: Validating zlib1g 1:1.2.8.dfsg-2+b1
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': Function not implemented
E: Cannot install into target '/vyos/build/chroot' mounted with noexec or nodev
P: Begin unmounting filesystems...
P: Saving caches...
chroot: failed to run command '/usr/bin/env': No such file or directory



I don’t think it is possible to use Docker on a Mac to build VyOS. I think the build script is trying test creating device files (like under /dev) but the bridge between Docker Linux and the Mac isn’t allowing this.

I instead installed Debian Buster on VirtualBox and ran Docker from within there. I didn’t have any problems running docker after that.

It would probably be a good idea to get the README updated to say that running Docker with a Mac as a host doesn’t work.



Hello, njh

You may right. It seems that VyOS can’t build using docker on a macOS.
I succeed to build it on a Ubuntu in the same way.

Thank you!.