Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception uploading largs squashed images to the docker daemon #43

Open
tarnfeld opened this issue Oct 6, 2015 · 0 comments
Open

Exception uploading largs squashed images to the docker daemon #43

tarnfeld opened this issue Oct 6, 2015 · 0 comments

Comments

@tarnfeld
Copy link
Contributor

tarnfeld commented Oct 6, 2015

When squashing images if the resulting layer tar is pretty big, the upload to the docker daemon can time out... little annoying.

Traceback (most recent call last):
  File "/root/.pex/install/portainer-0.0.0-py2-none-any.whl.7628d6418f9f3bffd5f083bef25af07b42830cc4/portainer-0.0.0-py2-none-any.whl/portainer/app/executor.py", line 280, in _build_image
    image_id
  File "/root/.pex/install/portainer-0.0.0-py2-none-any.whl.7628d6418f9f3bffd5f083bef25af07b42830cc4/portainer-0.0.0-py2-none-any.whl/portainer/app/executor.py", line 395, in _squash_image
    self.docker.load_image(fh)
  File "/root/.pex/install/docker_py-0.4.0-py2-none-any.whl.e0fa1f14c557a519376f527fc49d19691f0dcda3/docker_py-0.4.0-py2-none-any.whl/docker/client.py", line 591, in load_image
    res = self._post(self._url("/images/load"), data=data)
  File "/root/.pex/install/docker_py-0.4.0-py2-none-any.whl.e0fa1f14c557a519376f527fc49d19691f0dcda3/docker_py-0.4.0-py2-none-any.whl/docker/client.py", line 71, in _post
    return self.post(url, **self._set_request_timeout(kwargs))
  File "/root/.pex/install/requests-2.2.1-py2.py3-none-any.whl.9ea9a9f3f3f0d6d1f8e5a19cd886b4a6857b590e/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 425, in post
    return self.request('POST', url, data=data, **kwargs)
  File "/root/.pex/install/requests-2.2.1-py2.py3-none-any.whl.9ea9a9f3f3f0d6d1f8e5a19cd886b4a6857b590e/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 383, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/.pex/install/requests-2.2.1-py2.py3-none-any.whl.9ea9a9f3f3f0d6d1f8e5a19cd886b4a6857b590e/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 486, in send
    r = adapter.send(request, **kwargs)
  File "/root/.pex/install/requests-2.2.1-py2.py3-none-any.whl.9ea9a9f3f3f0d6d1f8e5a19cd886b4a6857b590e/requests-2.2.1-py2.py3-none-any.whl/requests/adapters.py", line 387, in send
    raise Timeout(e)
Timeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant