Replies: 1 comment 1 reply
-
Can you share the instructions you used to run the postgres container? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting a "too many open files" error when running PostgreSQL with volume mounted to a subfolder in my home dir. Not sure how to increase ulimit.
With Docker Desktop this issue didn't occur.
Lima/Colima documentation seems to have nothing on it.
I tried this in ~/.lima/_config/override.yaml
I needed the mounts to fix no write permission issue for PostgreSQL - and adding this to override.yaml + running colima start with
--mount-type 9p
parameter fixed the issue.But for ulimit it doesn't seem to do anything despite the added provision script.
P.S. The issue disappears if VM type is changed to VZ (apparently Qemu is the default), and none of the above mentioned configs from override.yaml are needed - but VZ has it's own caveats (can't do ARM on Intel and vice-versa, according to the docs), so it would be nice to figure out a solution that would allow to also use Qemu if needed.
Beta Was this translation helpful? Give feedback.
All reactions