containerd / accelerated-container-image

A production-ready remote container image format (overlaybd) and snapshotter based on block-device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: does userspace conversion support images from local image store

tianouya-db opened this issue · comments

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 it not works. local image store depends on containerd, while userspace convertor does not.

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