Mender Update installation

Im trying to use the docker artifact gen I m not sure if this is the latest method of doing this. As per the tutorial it uses a differnet component.

I am trting to run docker containers in my remote machine and i unable to create artifacts

vini@vini-ThinkPad-T490s:~/artifacts$ DOCKER_IMAGES="nginx:latest curlimages/curl:latest"
vini@vini-ThinkPad-T490s:~/artifacts$ ./docker-artifact-gen -n ${ARTIFACT_NAME} -t ${DEVICE_TYPE} -o ${OUTPUT_PATH} ${DOCKER_IMAGES}
latest: Pulling from library/nginx
Digest: sha256:1beed3ca46acebe9d3fb62e9067f03d05d5bfa97a00f30938a0a3580563272ad
Status: Image is up to date for nginx:latest
docker.io/library/nginx:latest
template parsing error: template: :1:2: executing "" at <index .RepoDigests 0>: error calling index: reflect: slice index out of range
vini@vini-ThinkPad-T490s:~/artifacts$ 

When i try the method from the tutorial i get this error

vini@vini-ThinkPad-T490s:~/artifacts$ app-gen --artifact-name nginx \
        --device-type jetson \
        --application-name nginx \
        --platform "$PLATFORM" \
        --orchestrator docker-compose \
        --manifests-dir . \
        --output-path nginx-app.mender \
        -- \
        --software-name="nginx-software" \
        --software-version="software-version"
No specific images specified. Will try to extract from docker-compose.yaml file.
latest: Pulling from library/nginx
Digest: sha256:1beed3ca46acebe9d3fb62e9067f03d05d5bfa97a00f30938a0a3580563272ad
Status: Downloaded newer image for nginx:latest
docker.io/library/nginx:latest
latest: Pulling from library/nginx
Digest: sha256:1beed3ca46acebe9d3fb62e9067f03d05d5bfa97a00f30938a0a3580563272ad
Status: Image is up to date for nginx:latest
docker.io/library/nginx:latest
declare -a images_shas=([0]="2d05a13eb7a31ad3d73ae48fce313eaa05b7c5a582eafb9c288b0f8c68e93073" [1]="2d05a13eb7a31ad3d73ae48fce313eaa05b7c5a582eafb9c288b0f8c68e93073")
failed to save image: invalid output path: directory "/tmp/tmp.6tjKfbH4IH/images/2d05a13eb7a31ad3d73ae48fce313eaa05b7c5a582eafb9c288b0f8c68e93073" does not exist

What am i missing from the documentation to get it working?
For instance single file generation works fine.

vini@vini-ThinkPad-T490s:~/artifacts$ ./single-file-artifact-gen   --device-type jetson   -o test.mender   -n test-file-jetson   --dest-dir /data   test
Artifact test.mender generated successfully:
Reading Artifact...
.............................................................. - 100 %
Mender artifact:
  Name: test-file-jetson
  Format: mender
  Version: 3
  Signature: no signature
  Compatible devices: '[jetson]'
  Provides group: 
  Depends on one of artifact(s): []
  Depends on one of group(s): []
  State scripts:

Updates:
    0:
    Type:   single-file
    Provides:
	rootfs-image.single-file.version: test-file-jetson
    Depends: Nothing
    Clears Provides: ["rootfs-image.single-file.*"]
    Metadata: Nothing
    Files:
      name:     dest_dir
      size:     6
      modified: 2025-11-07 12:42:08 +0100 CET
      checksum: 263aca83a3ff2cd846024109381a9112b546729acbcc38b9c2296fd512aea02c
      name:     filename
      size:     5
      modified: 2025-11-07 12:42:08 +0100 CET
      checksum: f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2
      name:     permissions
      size:     4
      modified: 2025-11-07 12:42:08 +0100 CET
      checksum: af5a86efbcdf0dc2cdba643a99528c6ab92cfc7ead17d655b3f63b841d74efb7
      name:     test
      size:     16
      modified: 2025-11-07 12:36:33 +0100 CET
      checksum: ed2814f4f0ee1f2f3f1277bbe43294067ffee735a3408d233bd40690c4be1aa1

Versions

mender-artifact version 3.6.0+ds1-2ubuntu0.1
Device
mender-update --version
5.0.3

I want to add dockercompose to my remote machine to run containers

thank you