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

Question: does userspace conversion support images from local image store #220

Open
1 task
tianouya-db opened this issue Sep 5, 2023 · 2 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@tianouya-db
Copy link
Contributor

What is the version of your Accelerated Container Image

No response

What would you like to be added?

I was trying out userspace conversion, and it seems the conversion works on an image in a remote registry, and the converted image is also in the remote image registry. If I have an image in my local store, and want to convert it and keep the converted image in the local store, I don't see an option to do that.

This command works and the converted image is pushed to the remote registry:

/opt/overlaybd/snapshotter/convertor -r my.registry.com/repo1/overlaybd/redis -u user:password -i 6.2.6 --overlaybd 6.2.6_obd

If I have an image in my local store, and try to convert it, it doesn't work:

/opt/overlaybd/snapshotter/convertor -r overlaybd/redis -i 6.2.6 --overlaybd 6.2.6_obd

I got an error like:

ERRO[0000] failed to create overlaybd builder: failed to resolve reference "overlaybd/redis:6.2.6": failed to do request: Head "https://overlaybd/v2/redis/manifests/6.2.6": dial tcp: lookup overlaybd on 127.0.0.53:53: server misbehaving

Is this expected?

Why is this needed for Accelerated Container Image?

Ask to support converting an image from the local image image store in the userspace.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.
@tianouya-db tianouya-db added the enhancement New feature or request label Sep 5, 2023
@liulanzheng
Copy link
Member

@tianouya-db it not works. local image store depends on containerd, while userspace convertor does not.

@tianouya-db
Copy link
Contributor Author

Thanks @liulanzheng. I was trying it out and encountered an issue with a large image. I opened #224. Can you help take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants