abiosoft / colima

Container runtimes on macOS (and Linux) with minimal setup
MIT License
17.73k stars 364 forks source link

docker: Increase ulimit to infinity #1003

Closed jramosf closed 3 months ago

jramosf commented 3 months ago

The current Colima VM (Ubuntu) is using the default value of 1024 file descriptors. This is insufficient for software such as Kafka that requires a high amount of open files, even in development environments.

https://docs.confluent.io/platform/current/kafka/deployment.html#file-descriptors-and-mmap

Since the principal purpose of the Colima VM is just to run docker, this sets the value to infinity to limit to the OS limits.

abiosoft commented 3 months ago

Thanks :)

abiosoft commented 3 months ago

@jramosf can you kindly rebase? I fixed the broken CI.

jramosf commented 3 months ago

@jramosf can you kindly rebase? I fixed the broken CI.

@abiosoft just rebased it, thanks.