Docker-mender-convert 4.0.2 fails on Mac OS X

When I’m trying to launch docker-mender-convert according to the tutorial it fails with the following error (the latest version of Docker Engine is installed as part of Docker Desktop with default settings):

mender-convert-modify has finished. Cleaning up...
2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert failed
2023-10-09 05:00:38 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:34): run_and_log_cmd():

	sed -i 's[ ]root=[^ ]*/ root=${mender_kernel_root}/' work/rpi/cmdline.txt
	sed: couldn't open temporary file work/rpi/sedqWUbSX: Permission denied

2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert failed
2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert exit code: 4

docker-mender-convert was called with the following parameters:

MENDER_ARTIFACT_NAME=release-0.0.1 ./docker-mender-convert \                                                                                                                        
    --disk-image input/golden-image-0.0.1.img \
    --config configs/raspberrypi4_ubuntu_config \
    --overlay input/rootfs_overlay_demo/

Previous error was caused by VirtioFS in docker settings. However other Docker fs options on Mac OS causes the following error:

2023-10-09 09:01:41 [ERROR] [mender-convert] mender-convert failed
2023-10-09 09:01:32 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:92): run_and_log_cmd():

	sudo ln -fs /uboot/vmlinuz work/rootfs/boot/vmlinuz
2023-10-09 09:01:41 [ERROR] [mender-convert] mender-convert failed

We are also having this issue. @PaterSantyago were you able to find a solution? If not, is there any update from the Mender team for a fix?