Skip to content

Allow Ulimit to accept String in addition to i64#65

Open
8BitMate wants to merge 1 commit intostephanbuys:mainfrom
8BitMate:ulimit-fix
Open

Allow Ulimit to accept String in addition to i64#65
8BitMate wants to merge 1 commit intostephanbuys:mainfrom
8BitMate:ulimit-fix

Conversation

@8BitMate
Copy link

@8BitMate 8BitMate commented Mar 2, 2026

Currently in main it is only possible to have ulimits mappings where the values are signed integers, but it doesn't take into account that the values can be passed as environment variables. This pull request addresses this by making the Ulimit type accept either String or i64 rather than just i64.

There may be better ways of modeling this as well, but it does solve a problem I'm having where I'm unable to parse a valid docker compose configuration using ulimits.

This is to allow using environment variables in addition
to hardcoded values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant