1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Windows: docker top implementation

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2016-08-17 15:46:28 -07:00
parent ce5eb34e68
commit 52f0474851
13 changed files with 105 additions and 51 deletions

View File

@ -881,7 +881,7 @@ func (s *DockerSuite) TestContainerApiStart(c *check.C) {
name := "testing-start"
config := map[string]interface{}{
"Image": "busybox",
"Cmd": append([]string{"/bin/sh", "-c"}, defaultSleepCommand...),
"Cmd": append([]string{"/bin/sh", "-c"}, sleepCommandForDaemonPlatform()...),
"OpenStdin": true,
}
@ -1117,7 +1117,7 @@ func (s *DockerSuite) TestContainerApiChunkedEncoding(c *check.C) {
config := map[string]interface{}{
"Image": "busybox",
"Cmd": append([]string{"/bin/sh", "-c"}, defaultSleepCommand...),
"Cmd": append([]string{"/bin/sh", "-c"}, sleepCommandForDaemonPlatform()...),
"OpenStdin": true,
}
b, err := json.Marshal(config)