Use the mender-convert container image
Run mender-convert from inside the container with your desired options, e.g.
When I run MENDER_ATRIFACT_NAME=my_release-1 ./docker-mender-convert --disk-image input/golden-0.1.img --config configs/raspberrypi4_config I’m getting the following error:
This simply means that the convertion script is run in a container, which is what is done when you do docker-mender-convert, like you have done above.
I would think the error stems from here:
This is the -p option on linux:
-p DIR, --tmpdir[=DIR]
interpret TEMPLATE relative to DIR; if DIR is not specified, use $TMPDIR if set, else /tmp. With this option, TEM‐
PLATE must not be an absolute name; unlike with -t, TEMPLATE may contain slashes, but mktemp creates only the final
component
To make the tempdir locate in the current directory.
If you can provide me with the Mac OS option, then I will fix this right now for you
However please be aware that macOS is not an actively supported platform for mender-conver at the moment, and especially the AArch64 variants are mostly uncharted territory.