mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Add labels to libconatiner config
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -180,6 +180,9 @@ type Config struct {
|
||||
|
||||
// Version is the version of opencontainer specification that is supported.
|
||||
Version string `json:"version"`
|
||||
|
||||
// Labels are user defined metadata that is stored in the config and populated on the state
|
||||
Labels []string `json:"labels"`
|
||||
}
|
||||
|
||||
type Hooks struct {
|
||||
|
||||
Reference in New Issue
Block a user