{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18180","labels_url":"https://api.github.com/repos/docker/docker/issues/18180/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18180/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18180/events","html_url":"https://github.com/docker/docker/issues/18180","id":118515373,"number":18180,"title":"Docker 1.9.1 hanging at build step \"Setting up ca-certificates-java\"","user":{"login":"jredl-va","id":2300103,"avatar_url":"https://avatars.githubusercontent.com/u/2300103?v=3","gravatar_id":"","url":"https://api.github.com/users/jredl-va","html_url":"https://github.com/jredl-va","followers_url":"https://api.github.com/users/jredl-va/followers","following_url":"https://api.github.com/users/jredl-va/following{/other_user}","gists_url":"https://api.github.com/users/jredl-va/gists{/gist_id}","starred_url":"https://api.github.com/users/jredl-va/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredl-va/subscriptions","organizations_url":"https://api.github.com/users/jredl-va/orgs","repos_url":"https://api.github.com/users/jredl-va/repos","events_url":"https://api.github.com/users/jredl-va/events{/privacy}","received_events_url":"https://api.github.com/users/jredl-va/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/48","html_url":"https://github.com/docker/docker/milestones/1.9.2","labels_url":"https://api.github.com/repos/docker/docker/milestones/48/labels","id":1425631,"number":48,"title":"1.9.2","description":"Tentative patch release. Probably never used, unless we find something worth releasing.","creator":{"login":"calavera","id":1050,"avatar_url":"https://avatars.githubusercontent.com/u/1050?v=3","gravatar_id":"","url":"https://api.github.com/users/calavera","html_url":"https://github.com/calavera","followers_url":"https://api.github.com/users/calavera/followers","following_url":"https://api.github.com/users/calavera/following{/other_user}","gists_url":"https://api.github.com/users/calavera/gists{/gist_id}","starred_url":"https://api.github.com/users/calavera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calavera/subscriptions","organizations_url":"https://api.github.com/users/calavera/orgs","repos_url":"https://api.github.com/users/calavera/repos","events_url":"https://api.github.com/users/calavera/events{/privacy}","received_events_url":"https://api.github.com/users/calavera/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":8,"state":"open","created_at":"2015-11-23T17:39:46Z","updated_at":"2015-12-01T13:20:42Z","due_on":null,"closed_at":null},"comments":40,"created_at":"2015-11-24T01:53:15Z","updated_at":"2015-12-01T17:23:09Z","closed_at":null,"body":"A few of us within the office upgraded to the latest version of docker toolbox backed by Docker 1.9.1 and  builds are hanging as per the below build output. \r\n\r\n`docker version`: \r\n```Client:\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`docker info`: \r\n```\r\nContainers: 10\r\nImages: 57\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: 77\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: vbootstrap-vm\r\nID: LLM6:CASZ:KOD3:646A:XPRK:PIVB:VGJ5:JSDB:ZKAN:OUC4:E2AK:FFTC\r\nDebug mode (server): true\r\n File Descriptors: 13\r\n Goroutines: 18\r\n System Time: 2015-11-24T02:03:35.597772191Z\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\nLabels:\r\n provider=virtualbox\r\n```\r\n\r\n`uname -a`: \r\n```\r\nDarwin JRedl-MB-Pro.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64\r\n```\r\nHere is a snippet from the docker build uppet that hangs on the Setting up ca-certificates-java line. Something to do with the latest version of docker and openjdk?\r\n\r\n```bash\r\nupdate-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode\r\nupdate-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode\r\nSetting up ca-certificates-java (20140324) ...\r\n```\r\n\r\n Docker file example:\r\n\r\n```\r\nFROM gcr.io/google_appengine/base\r\n\r\n# Prepare the image.\r\nENV DEBIAN_FRONTEND noninteractive\r\nRUN apt-get update && apt-get install -y -qq --no-install-recommends build-essential wget curl unzip python python-dev php5-mysql php5-cli php5-cgi openjdk-7-jre-headless openssh-client python-openssl && apt-get clean\r\n```\r\n\r\nI can confirm that this is not an issue with Docker 1.9.0 or Docker Toolbox 1.9.0d. Let me know if I can provide any further information but this feels like a regression of some sort within the new version."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/161039085","html_url":"https://github.com/docker/docker/issues/18180#issuecomment-161039085","issue_url":"https://api.github.com/repos/docker/docker/issues/18180","id":161039085,"user":{"login":"Lohhari","id":5979628,"avatar_url":"https://avatars.githubusercontent.com/u/5979628?v=3","gravatar_id":"","url":"https://api.github.com/users/Lohhari","html_url":"https://github.com/Lohhari","followers_url":"https://api.github.com/users/Lohhari/followers","following_url":"https://api.github.com/users/Lohhari/following{/other_user}","gists_url":"https://api.github.com/users/Lohhari/gists{/gist_id}","starred_url":"https://api.github.com/users/Lohhari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lohhari/subscriptions","organizations_url":"https://api.github.com/users/Lohhari/orgs","repos_url":"https://api.github.com/users/Lohhari/repos","events_url":"https://api.github.com/users/Lohhari/events{/privacy}","received_events_url":"https://api.github.com/users/Lohhari/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T17:23:09Z","updated_at":"2015-12-01T17:23:09Z","body":"It actually kept happening to me after I uninstalled 1.9.1 and installed 1.8.3. Looked like the uninstall wasn't very thorough though on Mac because firing up the shell was without delay on 1.8.3, unlike a normal first run where it sets up ssh keys and stuff."}}