summaryrefslogtreecommitdiffhomepage
path: root/runsc/container
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/container')
-rw-r--r--runsc/container/container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go
index fdcf8d7b7..687b89935 100644
--- a/runsc/container/container.go
+++ b/runsc/container/container.go
@@ -267,6 +267,7 @@ func Create(id string, spec *specs.Spec, conf *boot.Config, bundleDir, consoleSo
BundleDir: bundleDir,
Root: containerRoot,
Status: Creating,
+ CreatedAt: time.Now(),
Owner: os.Getenv("USER"),
}
// The Cleanup object cleans up partially created containers when an error occurs.