mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b3e1178ad0
`docker kill 123` will show something like: `Error response from daemon: Cannot kill container 123: nosuchcontainer: No such container: 123` Notice the `nosuchcontainer` text, that should not be there as that's an internal ID that means nothing to the end user. This PR fixes this by using `util.GetErrorMessage()` to extract just the message. While in that dir I found a couple of other spots that could use the same call, just to be safe. Signed-off-by: Doug Davis <dug@us.ibm.com> |
||
---|---|---|
.. | ||
client | ||
fixtures | ||
server | ||
types | ||
common.go | ||
common_test.go | ||
README.md |
This directory contains code pertaining to the Docker API:
-
Used by the docker client when communicating with the docker daemon
-
Used by third party tools wishing to interface with the docker daemon