"failed to setup loop device for" while building Docker image using buildiso

I’m having an error when trying to create an iso and I couldn’t find anything about it, could someone help me?

==> Done [/iso/boot]
==> Prepare [/iso/boot/grub]
  -> Building core.img ...
  -> Building bootx64.efi ...
  -> Set menu_show_once=1 in '/var/lib/manjaro-tools/buildiso/xfce/iso/boot/grub/grubenv'
  -> Creating fat image of 4M ...
 --> mount: [/var/lib/manjaro-tools/buildiso/xfce/mnt/efiboot]
mount: /var/lib/manjaro-tools/buildiso/xfce/mnt/efiboot: failed to setup loop device for /var/lib/manjaro-tools/buildiso/xfce/iso/efi.img.
==> ERROR: A failure occurred in make_grub().

  • What are you doing exactly?
  • What are you trying to accomplish? (don’t use technical terms but use plain English to describe your purpose (E.G. “I’m trying to make a bootable USB backup of my current install”)


I’m trying to create an iso botable image of manjaro inside a docker (container), the command I gave was this:
buildiso -f -p xfce -b stable

Following this guide: Build Manjaro ISOs with buildiso - Manjaro

@dalto Can you have a look here, please?

Here where?

That’s someone else I’m calling into this thread. (One of the authors of the Wiki article)