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.38k stars 135 forks source link

Error loading docker image #400

Closed WukovatzD closed 9 months ago

WukovatzD commented 1 year ago

Good evening

I have created the image myself via "docker The following command triggers an error message: udocker load -i src.api.tar

File "/usr/home/simrah/.local/bin/udocker", line 8, in sys.exit(main()) File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/maincmd.py", line 36, in main exit_status = UMain(sys.argv).execute() File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/umain.py", line 108, in execute exit_status = cmdscommand # executes command File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/cli.py", line 316, in do_load repos = self.localfileapi.load(imagefile, imagerepo) File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/localfile.py", line 35, in load repositories = DockerLocalFileAPI( File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/docker.py", line 850, in load repositories = self._load_image(structure, imagerepo, tag) File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/commonlocalfile.py", line 66, in _load_image return self._load_image_step2(structure, imagerepo, tag) File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/docker.py", line 795, in _load_image_step2 (json_config_file, layers) = self._get_from_manifest(structure, imagetag) File "/usr/home/simrah/.local/lib/python3.9/site-packages/udocker/docker.py", line 782, in _get_from_manifest for repotag in structure["manifest"]: TypeError: 'NoneType' object is not iterable

mariojmdavid commented 1 year ago

can you see if our latest rel 1.3.11 fixes this issues? https://github.com/indigo-dc/udocker/releases/tag/1.3.11

WukovatzD commented 1 year ago

@mariojmdavid Thank you in advance for the quick reply! Unfortunately, I must note that the same error still exists. I have verified that it is the latest version

mariojmdavid commented 1 year ago

is it possible to send us the tarball src.api.tar, unless if it's private of course on the other hand can you do

udocker -D load -i src.api.tar and paste here the full result

mariojmdavid commented 1 year ago

or better yet, what is the docker image, or, did you do docker save -o src.api.tar

mariojmdavid commented 9 months ago

no activity for 3 months, closing if you still have the issue, feel free to reopen