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() ```