Skip to content

Commit 6ac6506

Browse files
committed
specs-go: add labels to config.go
Signed-off-by: Lei Jitang <[email protected]>
1 parent 9fa0543 commit 6ac6506

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specs-go/v1/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ type ImageConfig struct {
4545

4646
// WorkingDir sets the current working directory of the entrypoint process in the container.
4747
WorkingDir string `json:"WorkingDir,omitempty"`
48+
49+
// Labels contains arbitrary metadata for the container.
50+
Labels map[string]string `json:"labels,omitempty"`
4851
}
4952

5053
// RootFS describes a layer content addresses

0 commit comments

Comments
 (0)