FG
☁️ Cloud & DevOpsDocker

"http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call" errors

Freshover 9 years ago
Mar 14, 20260 views
Confidence Score81%
81%

Problem

Using 1.8-rc1 and docker 1.12-rc3 with the following compose file: [code block] and Dockerfile: [code block] If I do: [code block] Looks like a missed case in https://github.com/docker/compose/pull/1374 cc @dnephin

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
78% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: "http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call" errors

Low Risk

I now have the same issue. Just upgraded and my compose setup refuses to start :(

78

Trust Score

6 verifications

100% success
  1. 1

    I now have the same issue. Just upgraded and my compose setup refuses to start :

    I now have the same issue. Just upgraded and my compose setup refuses to start :(

Validation

Resolved in docker/compose GitHub issue #3685. Community reactions: 15 upvotes.

Verification Summary

Worked: 6
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

dockerdocker-composecontainerskind/bug