nlf / dhyve-os

a tiny OS for running docker in xhyve
194 stars 19 forks source link

Increase default ulimit #9

Closed jakajancar closed 8 years ago

jakajancar commented 8 years ago

The default docker Debian package sets

ulimit -n 1048576
if [ "$BASH" ]; then
        ulimit -u 1048576
else
        ulimit -p 1048576
fi  

DhyveOS has much smaller limits, and although they can be changed using --ulimit when doing docker run, this causes some images that work using the Debian docker to fail with DyhveOS. It would be cool if these limits could be increased.

nlf commented 8 years ago

good call, they should definitely be raised