Bug 1371266

Summary: [extras-rhel-7.2.7] Docker daemon returns header text/plain instead of application/json
Product: Red Hat Enterprise Linux 7 Reporter: Lokesh Mandvekar <lsm5>
Component: docker-latestAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.2CC: atomic-bugs, ddarrah, lfriedma, lmohanty, lsm5, lsu, optak, prkumar, rgrunber, sghosh, veillard, vkadlcik, xcoulon
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1368999 Environment:
Last Closed: 2016-09-15 08:29:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Comment 3 Luwen Su 2016-09-01 09:25:26 UTC
Works well for me in docker-latest-1.12.1-2.el7.x86_64,

# curl -v --unix-socket  /var/run/docker.sock http://containers/info
* About to connect() to containers port 80 (#0)
*   Trying /var/run/docker.sock...
* Failed to set TCP_KEEPIDLE on fd 3
* Failed to set TCP_KEEPINTVL on fd 3
* Connected to containers (/var/run/docker.sock) port 80 (#0)
> GET /info HTTP/1.1
> User-Agent: curl/7.29.0
> Host: containers
> Accept: */*
> 
< HTTP/1.1 200 OK
< Content-Type: application/json
< Server: Docker/1.12.1 (linux)
< Date: Thu, 01 Sep 2016 09:24:21 GMT
< Transfer-Encoding: chunked

Comment 5 errata-xmlrpc 2016-09-15 08:29:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1829.html