gnome boxes stores its disk images in

~/.local/share/gnome-boxes/images/*

I found that libguestfs-tools is easier for mounting your preferred image to a folder and get the files from there.

mount your disk image:

mkdir ~/path/to/mountpoint
guestmount -a ~/.local/share/gnome-boxes/images/boxes-img-name -i --ro ~/path/to/mountpoint

copy your desired files from inside, then unmount:

guestunmount ~/mountpoint

Warning: Unknown: Write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0