🐛 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):
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.
🐛 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 argumentopenapi-generator-cli is running the OCI container with command line option
--user xxxxxxxxxx:yyyyyand this is outside the range of available namespace users.Steps to Reproduce
Steps to reproduce the behavior:
"useDocker": truenpx openapi-generator-cli generateExpected behavior
Generator runs and generates files
Screenshots
If applicable, add screenshots to help explain your problem.
Operation System (please complete the following information):
Package System (please complete the following information):
Additional Comments
I am using rootless podman with the docker command mapped to podman behind the scenes.