Docker Community Forums

Share and learn in the Docker community.

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


(Antonio Terreno) #1

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


(Marc Lennox) #2

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.


(Antonio Terreno) #3

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


(Marc Lennox) #4

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


(Marc Lennox) #5

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


(Antonio Terreno) #6

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


(Jontilt) #7

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


(Marc Lennox) #8

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