indigo-dc / udocker

A basic user tool to execute simple docker containers in batch or interactive systems without root privileges.
https://indigo-dc.github.io/udocker/
Apache License 2.0
1.35k stars 133 forks source link

Cannot push saved tarball as rootFs is missing in json. Invalid image config (rootFS is not set) #398

Closed RadFromOrange closed 11 months ago

RadFromOrange commented 1 year ago

Hi,

Nice project , i am using it for rootless world .

I am trying to push toregistry a saved tarball to dockerhub with skopeo but it seems that the tarball is missing some data like rootfs.

FATA[0000] determining manifest MIME type for docker-archive:///workspaces/umoci/popo.tar: Invalid image config (rootFS is not set): 93dc8da4000dde62aefe8ed8c2647b711e6ffe9c6940d6e0e61c18c2d001ca5c.json

here is the full use case : (pulling alpine , make some changes , export container , import container , save image )

image

May be ma i missing something in the workflow ?

Thx,

RadFromOrange commented 1 year ago

Here is the tarball:

savedImage_.zip

jorge-lip commented 1 year ago

This is now implemented in the devel3 branch. The limitation was in the import when udocker creates the metadata. Please check.

RadFromOrange commented 1 year ago

I have tested it on devel3 Branch. It works !

Thanx a lot!

image

mariojmdavid commented 11 months ago

release 1.3.11 published