{"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":12,"created_at":"2016-07-09T03:33:38Z","updated_at":"2016-10-08T13:55:01Z","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/252425799","html_url":"https://github.com/docker/docker/issues/24478#issuecomment-252425799","issue_url":"https://api.github.com/repos/docker/docker/issues/24478","id":252425799,"user":{"login":"izderadicka","id":2185733,"avatar_url":"https://avatars.githubusercontent.com/u/2185733?v=3","gravatar_id":"","url":"https://api.github.com/users/izderadicka","html_url":"https://github.com/izderadicka","followers_url":"https://api.github.com/users/izderadicka/followers","following_url":"https://api.github.com/users/izderadicka/following{/other_user}","gists_url":"https://api.github.com/users/izderadicka/gists{/gist_id}","starred_url":"https://api.github.com/users/izderadicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izderadicka/subscriptions","organizations_url":"https://api.github.com/users/izderadicka/orgs","repos_url":"https://api.github.com/users/izderadicka/repos","events_url":"https://api.github.com/users/izderadicka/events{/privacy}","received_events_url":"https://api.github.com/users/izderadicka/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T13:55:01Z","updated_at":"2016-10-08T13:55:01Z","body":"I also hit this issue (on desktop) - I have to use 4.6 kernel because 4.4 Intel drivers issues.   This cannot install aufs modules from image-extra package.\r\nI though that this might cause problems, but image-extra and aufs is marked as optional dependency.    \r\nI'd expect some more decent behavior in that case then  that installation hangs up, which is pretty nasty.\r\n\r\nI was able to get it running as described #23968."}}
{"actor":{"display_login":"izderadicka"}}