summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAanand Prasad <aanand.prasad@gmail.com>2013-09-06 00:01:58 -0400
committerAanand Prasad <aanand.prasad@gmail.com>2013-10-03 15:15:22 +0100
commit0739be15657a3a38639fe8fbae16cdb21139fa5a (patch)
tree22d2d210819ea8493d106101eccb8ec4ca4ed1a4
parent26b291bd32d8c53a14fb4bbd68509810860423f2 (diff)
downloaddocker-py-0739be15657a3a38639fe8fbae16cdb21139fa5a.tar.gz
Remove custom error message for image 404
-rw-r--r--docker/client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/docker/client.py b/docker/client.py
index eb6df8b..50692de 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -239,9 +239,6 @@ class Client(requests.Session):
def create_container_from_config(self, config):
u = self._url("/containers/create")
res = self._post_json(u, config)
- if res.status_code == 404:
- self._raise_for_status(res, explanation="{0} is an unrecognized image. Please pull the "
- "image first.".format(config['Image']))
return self._result(res, True)
def diff(self, container):