{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24478","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24478/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24478/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24478/events","html_url":"https://github.com/docker/docker/issues/24478","id":164647334,"number":24478,"title":"docker-engine install hangs when linux-image-extra package missing","user":{"login":"watchwithmike","id":4743602,"avatar_url":"https://avatars.githubusercontent.com/u/4743602?v=3","gravatar_id":"","url":"https://api.github.com/users/watchwithmike","html_url":"https://github.com/watchwithmike","followers_url":"https://api.github.com/users/watchwithmike/followers","following_url":"https://api.github.com/users/watchwithmike/following{/other_user}","gists_url":"https://api.github.com/users/watchwithmike/gists{/gist_id}","starred_url":"https://api.github.com/users/watchwithmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watchwithmike/subscriptions","organizations_url":"https://api.github.com/users/watchwithmike/orgs","repos_url":"https://api.github.com/users/watchwithmike/repos","events_url":"https://api.github.com/users/watchwithmike/events{/privacy}","received_events_url":"https://api.github.com/users/watchwithmike/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-09T03:33:38Z","updated_at":"2016-08-11T19:27:50Z","closed_at":null,"body":"**Summary**\r\n`sudo apt-get install docker-engine` hangs when a suitable `linux-image-extra` package is not installed, .\r\n**Step to reproduce the issue:**\r\n\r\n1. Install Ubuntu 16.04\r\n1. [Install Kernel 4.6.0](http://ubuntuhandbook.org/index.php/2016/05/install-linux-kernel-4-6-ubuntu-16-04/)\r\n1.  Follow [Docker Engine installation instructions](https://docs.docker.com/engine/installation/linux/ubuntulinux/)\r\n  * **Observe:** no `linux-image-extra` package available for `4.6.0-040600-generic`\r\n  * **Observe:** `sudo apt-get install docker-engine` hangs.\r\n1. While `dpkg` is hung:\r\n  * **Observe:** `/bin/sh /var/lib/dpkg/info/docker-engine.postinst configure` is the hung process.\r\n  * **Observe:** `sudo service docker status` shows the docker engine never finishes starting up.\r\n \r\nAs described in #23968, setting the `storage-driver` to `overlay` lets the docker service start up successfully.\r\n\r\n**Possible Solutions**\r\nWhen installing docker-engine check for the existence of the `linux-image-extra` package (or just `aufs`?):\r\n* Update the startup script to include the `--storage-driver=overlay` flag.\r\n* Update the startup script to create `/etc/docker/daemon.json` file to include the `storage-driver` setting.\r\n* Prevent the docker service from starting with a message indicating required dependencies are missing."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/239265443","html_url":"https://github.com/docker/docker/issues/24478#issuecomment-239265443","issue_url":"https://api.github.com/repos/docker/docker/issues/24478","id":239265443,"user":{"login":"gschlager","id":473736,"avatar_url":"https://avatars.githubusercontent.com/u/473736?v=3","gravatar_id":"","url":"https://api.github.com/users/gschlager","html_url":"https://github.com/gschlager","followers_url":"https://api.github.com/users/gschlager/followers","following_url":"https://api.github.com/users/gschlager/following{/other_user}","gists_url":"https://api.github.com/users/gschlager/gists{/gist_id}","starred_url":"https://api.github.com/users/gschlager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschlager/subscriptions","organizations_url":"https://api.github.com/users/gschlager/orgs","repos_url":"https://api.github.com/users/gschlager/repos","events_url":"https://api.github.com/users/gschlager/events{/privacy}","received_events_url":"https://api.github.com/users/gschlager/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T19:27:50Z","updated_at":"2016-08-11T19:27:50Z","body":"Same thing happens on Ubuntu 16.04 on [Linode](https://www.linode.com/) which currently uses Kernel 4.6 as default. There's no `linux-image-extra` package with `aufs` installed.\r\n\r\nThe installation of Docker 1.12 hangs because it wants to use `aufs`. Manually setting the storage driver to `overlay` or `overlay2` and restarting the aborted installation works. But that shouldn't be necessary. It should automatically use an available storage driver or at least show a warning and finish the installation."}}
{"actor":{"display_login":"gschlager"}}