Merge pull request #1157 from rajasec/readme-containerstate
Updating container state and status API in README
This commit is contained in:
commit
8b9b444820
|
@ -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()
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue