envd icon indicating copy to clipboard operation
envd copied to clipboard

feat: support Nydus type image builder

Open Iamleos opened this issue 2 years ago • 8 comments

Describe the feature

Nydus can improve container launch speed. However, it must use its specify image type (Compatible with the OCI images). It is efficient for product environment. I wish the envd can support it

Why do you need this feature?

No response

Additional context

No response

Iamleos avatar Aug 04 '23 09:08 Iamleos

From my point of view, Envd can not only bring the convenience for AI/ML researchers, but also speed up the image building process with common dockerfile frontend.

Iamleos avatar Aug 04 '23 09:08 Iamleos

It might be possible.

Refer to buildkit nydus

If you set up the buildkit with nydus in another envd context, you should be able to build nydus images.

kemingy avatar Aug 04 '23 09:08 kemingy

Can I use dockerfile.v0 as buildkit frontend with envd command?

Iamleos avatar Aug 04 '23 10:08 Iamleos

Can I use dockerfile.v0 as buildkit frontend with envd command?

Cannot. envd only supports envd as the frontend.

kemingy avatar Aug 04 '23 10:08 kemingy

Can I use dockerfile.v0 as buildkit frontend with envd command?

May I ask why? You could use docker directly if you use dockerfile.

gaocegege avatar Aug 04 '23 10:08 gaocegege

Can I use dockerfile.v0 as buildkit frontend with envd command?

May I ask why? You could use docker directly if you use dockerfile.

I need an image service that supports remote building and remote cache for cloud computing platform. A fast remote image building service is important for developers

Iamleos avatar Aug 07 '23 07:08 Iamleos

Can I use dockerfile.v0 as buildkit frontend with envd command?

May I ask why? You could use docker directly if you use dockerfile.

I need an image service that supports remote building and remote cache for cloud computing platform. A fast remote image building service is important for developers

Another point is that some AI/ML researchers are used to using dockerfile

Iamleos avatar Aug 07 '23 07:08 Iamleos

Then you could use buildkit directly, if you wanna use dockerfile.

It should work.

gaocegege avatar Aug 08 '23 03:08 gaocegege