-
Notifications
You must be signed in to change notification settings - Fork 553
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
What does an impl do with Annotations? #480
Comments
On Wed, Jun 01, 2016 at 10:40:35AM -0700, Doug Davis wrote:
They are explicitly opaque (“arbitrary” 1); the runtime doesn't care
You can get to the original config.json using the state's bundlePath |
Is that the workflow people are expecting? Meaning: use "runc xxx" to manipulate and get the state of the container but then access the filesystem directly to retrieve the annotations/config.json? Would including config.json as part of the output of |
On Wed, Jun 01, 2016 at 11:00:41AM -0700, Doug Davis wrote:
For more background on this approach (but in the context of mounting),
My problem with including it is that the config.json entries may be
|
Nothing. The runtimes should do nothing with annotations, that is the point of having them. |
See opencontainers/runc#869 for one possible way to deal with it. |
By nothing i meant no actions on the values, it can just pass them through and return them in the state. |
yea, I assumed you were focused on the "no action" side of things. If people are happy with your runc PR, I think having a similar change in the spec would be good so that people have a consistent way to get this info from OCI complaint runtimes. |
Ya, it would make sense to have this in the spec as a part of the state return result |
On Thu, Jun 02, 2016 at 12:55:05PM -0700, Doug Davis wrote:
I explicitly suggested this (for ‘labels’) 1 and it was rejected |
The spec defines annotations in the config.json but it doesn't anything else about them.
For example, is that info suppose to be available via a
runc state id
type of operation?If that info isn't retrievable/queriable then what is it for?
The text was updated successfully, but these errors were encountered: