Open emedernach opened 1 year ago
Hello,
We managed to solve the problem by modifying the _load_structure method (in docker.py line 631):
# elif len(fname) >= 69 and fname.endswith(".json"):
elif fname.endswith(".json"):
Best regards,
Medernach Emmanuel
Hello,
The issue is still there when we use 'import' but it works with 'load', you could test it with this docker image:
Minimal Docker Image with /bin/bash
** With udocker import
# udocker import Bash-02Feb2023.tar.gz Bash-02Feb2023
# udocker create --name=test-02Feb2023 Bash-02Feb2023
# udocker ps
...
4a707804-5305-3fc7-bc82-6f9ced83296d . W ['test-02Feb2023'] Bash-02Feb2023:latest
# udocker run 4a707804-5305-3fc7-bc82-6f9ced83296d /bin/bash
Error: command not found or has no execute bit set: ['/bin/bash']
** With udocker load
# udocker load -i Bash-02Feb2023.tar.gz Bash-02Feb2023-loaded
# udocker create --name=test-02Feb2023-loaded Bash-02Feb2023-loaded
fa3e6205-3969-3353-94ec-237339b3138b
# udocker run fa3e6205-3969-3353-94ec-237339b3138b /bin/bash
******************************************************************************
* *
* STARTING fa3e6205-3969-3353-94ec-237339b3138b *
* *
******************************************************************************
executing: bash
Best regards,
Medernach Emmanuel
If you can please post again the tar files. Thanks !
Hello,
Here is a docker image (Simple.tgz):
https://filesender.renater.fr/?s=download&token=2ce8811a-39ca-4565-858f-b96d84669e87
This should be fixed, if the problem persists please let us know.
Hello,
We are trying to load a docker image and we obtain this error:
Our image is generated with Guix. Here is a minimal image with this error: Simple.tgz
Best regards,
Medernach Emmanuel