returns an error if the container we want to attach is not running

Upstream-commit: 468e4c4b565d25b03c68ce2ab31f9a52f7b3398a
Component: engine
This commit is contained in:
Victor Vieux
2013-05-31 15:34:23 +00:00
parent 919fd1400e
commit 3efe0a345b
3 changed files with 6 additions and 1 deletions
@@ -132,6 +132,7 @@ Create a container
:jsonparam config: the container's configuration
:statuscode 201: no error
:statuscode 404: no such container
:statuscode 406: impossible to attach (container not running)
:statuscode 500: server error