[BUG] docker generate fails with uid > 100000
@kay-schecker がすでに取り組んでいます。
2025年9月9日 から。
評価
この issue はまだ評価されていません。
説明
🐛 Bug Report:
Describe the bug
When running the generator and using podman with a large uid (over 100000), launching the OCI container fails with an error.
[[v1] src/openapi/api-docs.json] Error: OCI runtime error: crun: setresuid to xxxxxxxxxx: Invalid argument
openapi-generator-cli is running the OCI container with command line option --user xxxxxxxxxx:yyyyy and this is outside the range of available namespace users.
Steps to Reproduce
Steps to reproduce the behavior:
- Log in with a user with uid > 100000.
- Configure openapitools.json with
"useDocker": true - Run
npx openapi-generator-cli generate - See error
Expected behavior
Generator runs and generates files
Screenshots
If applicable, add screenshots to help explain your problem.
Operation System (please complete the following information):
- OS: RHEL 9
- Version 9.6
Package System (please complete the following information):
- Node 22.12.0
- NPM 10.9.0
- openapi-generator-cli 2.23.1
- Open API Generator 6.6.0
Additional Comments
I am using rootless podman with the docker command mapped to podman behind the scenes.
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 209
- 平均マージ
- 9時間 35分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenAPITools/openapi-generator-cli のほかの issue
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[BUG] JAVA_OPTS is incorrectly evaluated再び着手できるかも @kay-schecker が 126 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1213 · 担当者 1 名 ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version manager再び着手できるかも @kay-schecker が 181 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1190 · 担当者 1 名 ·
-
[BUG] openapiGeneratorIgnoreList is missing from schema再び着手できるかも @kay-schecker が 231 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1138 · コメント 1 件 · 担当者 1 名 ·
-
[BUG] Environment variable not found (missing .env loading)再び着手できるかも @kay-schecker が 270 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1094 · コメント 1 件 · 担当者 1 名 ·
OpenAPITools/openapi-generator-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1時間未満 初心者へのやさしさ 85/100
capricorn86/happy-dom#2474 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
JSerwatka/letterboxd-tweaks#81 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
siyuan-note/siyuan#20165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
polkadot-js/phishing#5716 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
juice-shop/juice-shop#3662 ·
メンテナーはふだん 1 日以内に返信