mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
add /proc to list running processes inside a container
This commit is contained in:
@@ -26,6 +26,13 @@ type APIInfo struct {
|
||||
SwapLimit bool `json:",omitempty"`
|
||||
}
|
||||
|
||||
type APIProc struct {
|
||||
PID string
|
||||
Tty string
|
||||
Time string
|
||||
Cmd string
|
||||
}
|
||||
|
||||
type APIRmi struct {
|
||||
Deleted string `json:",omitempty"`
|
||||
Untagged string `json:",omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user