-
Hey everyone! With oras-cli version pre Because Thanks, everyone! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi Tom, thanks for the question. Can you provide a more specific scenario on: you have a service artifact containing a container image and some configuration files but you only want to pull the configuration layers without the image layers. For now, From personal perspective, the best practice to pack a service artifact is not to put file layers and image layers all under one OCI artifact manifest, but to put them into different artifacts. We are preparing 0.14.0 and it supports a new manifest type to allow user attaching service files(e.g. service configurations) to a service image. After we released 0.14.0, you can download the configuration file layers via
For now, there is no plan to support more fine-grained layer filtering for |
Beta Was this translation helpful? Give feedback.
The
CopyGraphOptions.FindSuccessors
callback function oforas-go
allows you to customize the descriptors of layers to copy. Here is an example of how ORAS CLI uses this function:oras/cmd/oras/root/attach.go
Lines 191 to 204 in e89bc7b