Change /containers to /state with machine info
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3ea5dd79e0
commit
c1eb9ac90b
5 changed files with 56 additions and 10 deletions
|
@ -13,7 +13,6 @@ Add a process:
|
|||
```bash
|
||||
curl -s -XPUT localhost:8888/containers/redis/process -d@process.json | json_pp
|
||||
{
|
||||
"pid" : 25671,
|
||||
"user" : {
|
||||
"gid" : 0,
|
||||
"uid" : 0
|
||||
|
@ -31,10 +30,10 @@ curl -s -XPUT localhost:8888/containers/redis/process -d@process.json | json_pp
|
|||
```
|
||||
|
||||
|
||||
Get containers:
|
||||
Get containers and state:
|
||||
|
||||
```bash
|
||||
curl -s localhost:8888/containers | json_pp
|
||||
curl -s localhost:8888/state | json_pp
|
||||
{
|
||||
"containers" : [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue