{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/21727","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/21727/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/21727/comments","events_url":"https://api.github.com/repos/docker/docker/issues/21727/events","html_url":"https://github.com/docker/docker/issues/21727","id":145261705,"number":21727,"title":"Docker push of large image fails with \"500 Internal Server Error\"","user":{"login":"peetonn","id":2133723,"avatar_url":"https://avatars.githubusercontent.com/u/2133723?v=3","gravatar_id":"","url":"https://api.github.com/users/peetonn","html_url":"https://github.com/peetonn","followers_url":"https://api.github.com/users/peetonn/followers","following_url":"https://api.github.com/users/peetonn/following{/other_user}","gists_url":"https://api.github.com/users/peetonn/gists{/gist_id}","starred_url":"https://api.github.com/users/peetonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peetonn/subscriptions","organizations_url":"https://api.github.com/users/peetonn/orgs","repos_url":"https://api.github.com/users/peetonn/repos","events_url":"https://api.github.com/users/peetonn/events{/privacy}","received_events_url":"https://api.github.com/users/peetonn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T19:13:56Z","updated_at":"2016-04-01T23:26:08Z","closed_at":"2016-04-01T23:26:08Z","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.3\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 17:56:04 UTC 2015\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.3\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 17:56:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 33\r\nImages: 126\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 193\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.1.13-boot2docker\r\nOperating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015\r\nCPUs: 1\r\nTotal Memory: 1.956 GiB\r\nName: default\r\nID: 3WGR:DWNU:6BBF:SFUH:EUK6:BGIC:NA5N:T5VB:NRLH:JGG5:HIZM:SU7D\r\nDebug mode (server): true\r\n File Descriptors: 17\r\n Goroutines: 25\r\n System Time: 2016-04-01T19:05:42.951285482Z\r\n EventsListeners: 0\r\n Init SHA1: \r\n Init Path: /usr/local/bin/docker\r\n Docker Root Dir: /mnt/sda1/var/lib/docker\r\nUsername: peetonn\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=virtualbox\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\n\r\n\r\n**Steps to reproduce the issue:**\r\n1. `docker run -t -i run peetonn/docker-ndnrtc-ubuntu14.04:head44-built /bin/bash`\r\n2. inside the image:\r\n2.1. add these lines to `/etc/apt/sources.list`:\r\n```\r\ndeb http://archive.ubuntu.com/ubuntu/ trusty multiverse\r\ndeb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse\r\ndeb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse\r\ndeb-src http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse\r\ndeb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse\r\ndeb-src http://archive.ubuntu.com/ubuntu/ trusty-security multiverse\r\n```\r\n2.2. run (can take a while to compile and sync webrtc repo): \r\n```\r\nsudo apt-get update\r\nsudo apt-get install msttcorefonts gtk+-2.0 pkg-config libudev-dev libdbus-1-dev libgconf2-dev libgnome-keyring-dev libpci-dev xscreensaver libxss-dev -y\r\ncd && cd webrtc-checkout/src\r\nexport PATH=$(pwd)/../../depot_tools:$PATH\r\ngclient sync && ninja -C out/Release\r\nexit\r\n```\r\n\r\n3. Now, if you commit image and try to push it, you'll get error. Here's example output:\r\n```\r\n$ docker -D push peetonn/docker-ndnrtc-ubuntu14.04:head44-built\r\nDEBU[0000] Trusting certs with subjects: [010U\r\npeetonn] \r\nThe push refers to a repository [docker.io/peetonn/docker-ndnrtc-ubuntu14.04] (len: 1)\r\n50bed83bbf19: Pushing [==================================================>] 9.959 GB\r\nReceived unexpected HTTP status: 500 Internal Server Error\r\n```\r\n\r\n**Describe the results you received:**\r\n`Received unexpected HTTP status: 500 Internal Server Error`\r\n\r\n**Describe the results you expected:**\r\nImage successfully pushed to the remote repo (hub.docker.com).\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n"}}