Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Increase amount of opened files #136

Merged
merged 2 commits into from
Nov 1, 2023
Merged

fix: Increase amount of opened files #136

merged 2 commits into from
Nov 1, 2023

Conversation

vitaliy-guliy
Copy link
Contributor

@vitaliy-guliy vitaliy-guliy commented Oct 31, 2023

Creates /etc/containers/containers.conf configuration file to increase amount of opened files for podman build / podman run

Required for eclipse-che/che#22292

# default_ulimits = [
# "nofile=65535:65535",
# ]
RUN (echo '[containers]'; echo 'default_ulimits = ['; echo ' "nofile=65535:65535",'; echo ']') >> /etc/containers/containers.conf
Copy link
Contributor

@AObuchow AObuchow Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good to me, but could also be done with a COPY directive (though you might also have to include a chown as is done here)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Could you take a look again?

Copy link

openshift-ci bot commented Nov 1, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amisevsk, AObuchow, vitaliy-guliy

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vitaliy-guliy vitaliy-guliy merged commit 277c10c into main Nov 1, 2023
2 checks passed
@vitaliy-guliy vitaliy-guliy deleted the default-ulimits branch November 1, 2023 15:55
pjos pushed a commit to pjos/developer-images that referenced this pull request Nov 3, 2023
Add configuration to increase amount of opened files

Signed-off-by: Vitaliy Gulyy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants