Hi,
I try to install a docker container over the software management in my Cumulocity tenant. This fails with the following error:
stdout (EMPTY)
----- $ /usr/bin/sudo "-n" "/etc/tedge/sm-plugins/container" "install" "hello-world" "--module-version" "hello-world" "--file" "/tmp/hello-world_hello-world"
Exit status: 1 (ERROR)
stderr <<EOF
2025/09/04 12:20:37 INFO Using config file path=/etc/tedge/plugins/tedge-container-plugin.toml
2025/09/04 12:20:37 INFO Executing cmd=install args=[hello-world]
2025/09/04 12:20:37 INFO Using container engine socket. value=unix:///var/run/docker.sock
2025/09/04 12:20:37 INFO Loading image from file. file=/tmp/hello-world_hello-world
Error: Error response from daemon: failed to load image: payload does not match any of the supported image formats:
* oci: open /var/tmp/api_load.tar1717671670/index.json: not a directory
* oci-archive: creating temp directory: untarring file "/var/tmp/container_images_oci2274968641": archive/tar: invalid tar header
* docker-archive: loading tar component "manifest.json": archive/tar: invalid tar header
* dir: open /var/tmp/api_load.tar1717671670/manifest.json: not a directory
2025/09/04 12:20:37 ERROR Command error err="Error response from daemon: failed to load image: payload does not match any of the supported image formats:\n * oci: open /var/tmp/api_load.tar1717671670/index.json: not a directory\n * oci-archive: creating temp directory: untarring file \"/var/tmp/container_images_oci2274968641\": archive/tar: invalid tar header\n * docker-archive: loading tar component \"manifest.json\": archive/tar: invalid tar header\n * dir: open /var/tmp/api_load.tar1717671670/manifest.json: not a directory"
EOF
stdout (EMPTY)
I run ghcr.io/thin-edge/tedge-container-bundle:latest
with the instructions from: Option 2: Container network and using Cumulocity Certificate-Authority.
Setup:
- using podman
- using Raspberry
Linux raspberrypi 6.12.34+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) aarch64 GNU/Linux
pi@raspberrypi:~ $ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
pi@raspberrypi:~ $ podman version
Client: Podman Engine
Version: 5.4.2
API Version: 5.4.2
Go Version: go1.22.8
Git Commit: be85287fcf4590961614ee37be65eeb315e5d9ff
Built: Thu Sep 4 11:47:18 2025
OS/Arch: linux/arm64
The pull inside the container works:
/ $ docker pull hello-world
Using default tag: latest
198f93fd5094: Already exists
ca9905c726f0: Download complete
docker.io/library/hello-world:latest
What could be the issue?