Merge pull request #1157 from rajasec/readme-containerstate

Updating container state and status API in README
This commit is contained in:
Michael Crosby 2016-10-31 10:26:21 -07:00 committed by GitHub
commit 8b9b444820
1 changed files with 6 additions and 0 deletions

View File

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