nlf / dlite

The simplest way to use Docker on OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting vm.max_map_count

CarstenHoyer opened this issue · comments

I am trying to run ELK from the sebp/elk image, but I am having trouble setting sysctl -w vm.map_max_count in dlite.

It works with release 1.1.4, but not with 2.0.0-beta9

Bug Reports

  • dlite version in use (run dlite --version): dlite version 2.0.0-beta9

  • expected behavior: vm.max_map_count should equal 262144 in the container.

  • actual behavior: vm.max_map_count equals 65530 in the container

  • steps to reproduce
    Init dlite with 4g memory (the memory is strictly not necessary)
    $ ssh local.docker
    $ sudo sysctl -w vm.max_map_count=262144
    vm.max_map_count=262144

Or set vm.max_map_count=262144 in /etc/sysctl.conf and run sysctl -p

$ git clone git@github.com:CarstenHoyer/dlite-issue.git
$ cd dlite-issue
$ docker-compose up

Notice vm.max_map_count in the output from the container.

Feature Requests

If possible, please explain why this is working in dlite 1.1.4 but not in the latest 2.x release
Or even better - make a fix for it :)