How to set file-max on mac os / docker beta?

I used to ssh into docker-machine, change the fs.file-max setting with a script ran as root:

echo "fs.file-max = 524288" > /etc/sysctl.conf
sysctl -p
cat /proc/sys/fs/file-max
sysctl fs.file-max

That’s for running this bad boy here: https://github.com/ibm-messaging/mq-docker

thanks

Were you able to figure out a solution or get an answer for this? I’m having a similar issue, and it’s a show stopper.

No reply at all.
Show stopper for me as well, I went back same day (no time to waste!) on docker-machine.

I’ll apreciate a lot if you find something to sort this out pls share here.

The fact you ended up on this thread and that you are still asking it’s not encouraging is it?

Cheers

Agreed. Docker folks, can we get an answer on this one please?

Looks like the new beta has resolved this, as you can now edit sysctl.conf through the Mac app.

1 Like

Nice one @marclennox thanks for letting me know, updating now!

The mac app had the feature for a while, but from beta 16 this has been dropped.
Any news Docker folks?

Yep, not sure why this feature was removed after beta 15. Will we see it return any time soon?