moby: Hijack is incompatible with use of CloseNotifier
Hi,
I upgraded my docker to 1.6 today (I believe it was on 1.5, but I’m not 100% sure).
I now have a problem where my docker client gives me docker.errors.APIError: 500 Server Error: Internal Server Error ("http: Hijack is incompatible with use of CloseNotifier")
when I try to post to /containers/<container>/attach
(my client uses dockerpty and docker-py)
It would appear that compose has a similar problem (https://github.com/docker/compose/issues/1275).
If I run an image with the docker cli it does work (for example, docker run -it ubuntu:14.04 /bin/bash)
I’m not entirely sure how to debug this issue.
Thanks
Stephen.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 47 (23 by maintainers)
Commits related to this issue
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
- IDEX-3437: workaround bug of access to docker API over http Cause of the bug is Golang libraby. See https://github.com/docker/docker/issues/12845 — committed to codenvy-legacy/che-plugins by deleted user 9 years ago
I’m getting this error after upgrading today.
docker info
For example:
docker-compose run django python manage.py migrate