You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
We need to make alibaba/runc vendored in Pouch could take advantage of Alikernel's open sourced container isolation options.
These options should be passed by Pouchd, and be carried in github.com/opencontainers/runtime-spec/specs-go. The specific carrier is the Annotation field in type Spec:
// Spec is the base configuration for the container.
type Spec struct {
......
Hooks *Hooks `json:"hooks,omitempty" platform:"linux,solaris"`
// Annotations contains arbitrary metadata for the container.
Annotations map[string]string `json:"annotations,omitempty"`
......
}
All these four options in recorded in pr AliyunContainerService/pouch#743. We made a rule that these options are put into Annotation by a specified Key and Value:
Key: a prefix of _, and has a _ between every word;
Value: convert that into a string type.
When we finished transferring data via annotation to runC, then in the implementation of runC could extract data in annotation and deal with these options to configure Alikernel options related to pouch container.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, All,
We need to make alibaba/runc vendored in Pouch could take advantage of Alikernel's open sourced container isolation options.
These options should be passed by Pouchd, and be carried in
github.com/opencontainers/runtime-spec/specs-go
. The specific carrier is theAnnotation
field in type Spec:All these four options in recorded in pr AliyunContainerService/pouch#743. We made a rule that these options are put into Annotation by a specified Key and Value:
_
, and has a_
between every word;When we finished transferring data via annotation to runC, then in the implementation of runC could extract data in annotation and deal with these options to configure Alikernel options related to pouch container.
The text was updated successfully, but these errors were encountered: