From 1535e675922082113a85184d80e1ae8bcad28451 Mon Sep 17 00:00:00 2001 From: rajasec Date: Thu, 27 Oct 2016 15:25:28 +0530 Subject: [PATCH] Updating container state and status API in README Signed-off-by: rajasec Updating container state and status API in README Signed-off-by: rajasec --- libcontainer/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libcontainer/README.md b/libcontainer/README.md index f625028a..9435cf7d 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -223,6 +223,12 @@ container.Signal(signal) // update container resource constraints. container.Set(config) + +// get current status of the container. +status, err := container.Status() + +// get current container's state information. +state, err := container.State() ```