Operating system limits

I have seen a couple of posts here without clear resolution around setting file descriptor limits and wondering how we would translate the following docker command into a fly app:

docker run --ulimit nofile=80000:80000

For context our app is running from a fly launch --image based off a public image that we are not authoring and the recommendation from the publisher is to increase OS level limits such as the file descriptors.

Hi @swgdev

The easiest way would probably be to create your own Dockerfile that’s derived from the public image (FROM <public image>) and add a custom entrypoint script to it that sets the ulimit and starts the app.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.