{"action":"created","issue":{"url":"https://api.github.com/repos/spujadas/elk-docker/issues/99","repository_url":"https://api.github.com/repos/spujadas/elk-docker","labels_url":"https://api.github.com/repos/spujadas/elk-docker/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/spujadas/elk-docker/issues/99/comments","events_url":"https://api.github.com/repos/spujadas/elk-docker/issues/99/events","html_url":"https://github.com/spujadas/elk-docker/issues/99","id":196988523,"number":99,"title":"sysctl: setting key \"vm.max_map_count\": Read-only file system","user":{"login":"bezrukovp","id":5146913,"avatar_url":"https://avatars.githubusercontent.com/u/5146913?v=3","gravatar_id":"","url":"https://api.github.com/users/bezrukovp","html_url":"https://github.com/bezrukovp","followers_url":"https://api.github.com/users/bezrukovp/followers","following_url":"https://api.github.com/users/bezrukovp/following{/other_user}","gists_url":"https://api.github.com/users/bezrukovp/gists{/gist_id}","starred_url":"https://api.github.com/users/bezrukovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bezrukovp/subscriptions","organizations_url":"https://api.github.com/users/bezrukovp/orgs","repos_url":"https://api.github.com/users/bezrukovp/repos","events_url":"https://api.github.com/users/bezrukovp/events{/privacy}","received_events_url":"https://api.github.com/users/bezrukovp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-21T17:25:21Z","updated_at":"2016-12-23T09:35:10Z","closed_at":null,"body":"Hi, I have the same problem:\r\n![image](https://cloud.githubusercontent.com/assets/5146913/21398975/a97a65ac-c7ba-11e6-9aba-b5958db289ff.png)\r\n\r\nIt arises here `/elasticsearch-init:137`\r\n\r\nOn my server Docker install in LXC container, perhaps this is the reason the error.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spujadas/elk-docker/issues/comments/268963370","html_url":"https://github.com/spujadas/elk-docker/issues/99#issuecomment-268963370","issue_url":"https://api.github.com/repos/spujadas/elk-docker/issues/99","id":268963370,"user":{"login":"spujadas","id":930566,"avatar_url":"https://avatars.githubusercontent.com/u/930566?v=3","gravatar_id":"","url":"https://api.github.com/users/spujadas","html_url":"https://github.com/spujadas","followers_url":"https://api.github.com/users/spujadas/followers","following_url":"https://api.github.com/users/spujadas/following{/other_user}","gists_url":"https://api.github.com/users/spujadas/gists{/gist_id}","starred_url":"https://api.github.com/users/spujadas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spujadas/subscriptions","organizations_url":"https://api.github.com/users/spujadas/orgs","repos_url":"https://api.github.com/users/spujadas/repos","events_url":"https://api.github.com/users/spujadas/events{/privacy}","received_events_url":"https://api.github.com/users/spujadas/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T09:35:10Z","updated_at":"2016-12-23T09:35:10Z","body":"Can't reproduce over here, so I'm going to attempt something based on your experience. Essentially I want to change this bit:\r\n\r\n        if [ -n \"$MAX_MAP_COUNT\" -a -f /proc/sys/vm/max_map_count ]; then\r\n            sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT\r\n        fi\r\n\r\nto check if `vm.max_map_count` is already equal to `$MAX_MAP_COUNT` before it tries to use `sysctl`: in your case, as `vm.max_map_count` is already properly set, the test will pass and the init script will continue running.\r\n\r\nBefore I do that I need to make sure that the script will play nicely with your set-up once this test is in place, so could I ask you to edit the `elasticsearch-init` file (if rebuilding the image) or `/etc/init.d/elasticsearch` (if using the existing one), and to comment out or remove [lines 136-138](https://github.com/spujadas/elk-docker/blob/master/elasticsearch-init#L136-L138), then start the container, and let me know if Elasticsearch starts (and if not what goes wrong)?"}}
{"actor":{"display_login":"spujadas"}}