Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker does not allow image pulling due to invalid image configure #42

Open
termoshtt opened this issue Jul 15, 2022 · 1 comment
Open

Comments

@termoshtt
Copy link
Owner

On fe607df

cd examples/rust-lib
cargo ocipkg build

will generates target/debug/ocipkg-lib-example.tar, and it can be read from podman:

$ podman load < target/debug/ocipkg-lib-example.tar
Getting image source signatures
Copying blob a9e4b2e88cdf done  
Copying config 62f91216a7 done  
Writing manifest to image destination
Storing signatures
Loaded image: ghcr.io/termoshtt/ocipkg/rust-lib:fe607df8aff71b7ea9f1fbed221d251efe574b41

Then, it can be pushed to ghcr.io:

$ podman push ghcr.io/termoshtt/ocipkg/rust-lib:fe607df8aff71b7ea9f1fbed221d251efe574b41
Getting image source signatures
Copying blob 8bc21c49c28e done  
Copying config f7e44d8877 done  
Writing manifest to image destination
Storing signatures

But, we cannot pull it using docker:

$ docker pull ghcr.io/termoshtt/ocipkg/rust-lib:fe607df8aff71b7ea9f1fbed221d251efe574b41
fe607df8aff71b7ea9f1fbed221d251efe574b41: Pulling from termoshtt/ocipkg/rust-lib
55a302df70e5: Pull complete 
layers from manifest don't match image configuration

It seems that we still make some misunderstanding while creating ImageConfiguration.

@termoshtt termoshtt added the bug label Jul 15, 2022
@termoshtt termoshtt added this to the 0.1.0 milestone Jul 15, 2022
@termoshtt termoshtt removed this from the 0.1.0 milestone Jul 15, 2022
@termoshtt
Copy link
Owner Author

This is not a necessary feature. Drop from 0.1.0

@github-actions github-actions bot removed bug labels Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant