failed to extract layer when pulling the image

I’m trying to get ghcr.io/farcaller/nextdns-docker:latest to run on mikrotik. For what it’s worth it’s a trivial OCI image that runs perfectly fine on linux in both docker and podman. RouterOS, however, fails to extract it:

13:11:31 container,info,debug getting layer sha256:06372458a23cc85259399605ca0b91d9cb68fe6cd8a2cf700cdfa894390e782a
13:11:33 container,info,debug layer sha256:06372458a23cc85259399605ca0b91d9cb68fe6cd8a2cf700cdfa894390e782a downloaded
13:11:33 container,info,debug failed to extract layer
13:11:33 container,info,debug was unable to import, container 8d50350a-15c8-4567-b007-1e2713166182

with file= the result is slightly different:

13:37:29 container,info,debug importing tar archived image: 1.tar
13:37:29 container,info,debug error: failed to extract

I tried both the remote-image=, and file= to make sure that’s not some ghcr.io gimmick.

Any idea?

On what device are your trying this ?
Sure you have enough space ?
And sure it’s the correct architecture for the device you are trying this on (ARM, ARM64 or x86) ?

This is a CHR VM running 7.13 on amd64. It has ~900MB free disk right now and I’m sure I’m pulling the correct image as I only built it for amd64 (and verified it on an amd64 docker).

I had the same issue, I fixed the issue by changing the disk FS from FAT32 to EXT4, then I was able to run the container.

1 Like

This is very useful and it saves my time. Thanks for sharing