From e34b4fbcd33efc9903608996e8082b2c0ea567c0 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Wed, 24 Feb 2016 10:45:20 -0800 Subject: [PATCH] Add labels to libconatiner config Signed-off-by: Michael Crosby --- libcontainer/configs/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcontainer/configs/config.go b/libcontainer/configs/config.go index f6a163b7..0325d58a 100644 --- a/libcontainer/configs/config.go +++ b/libcontainer/configs/config.go @@ -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 {