podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Add support of setting PID limit

Open candleindark opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. The current version of podman-compose doesn't seem to support the setting of the PID limit of a service container. I was unable to set the PID limit of a service using either the pids_limit element or the deploy.reservations.pids element.

Describe the solution you'd like I would like podman-compose to support the setting PID limit of a service container either through the pids_limit element or the deploy.reservations.pids element.

Describe alternatives you've considered Currently, I use a separate bash script to call up podman run with the --pids-limit option to set the PID limit for one of the service containers within a project but use podman-compose to spawn other containers in the project. The podman run command is unseemly long.

Additional context

$ podman-compose --version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.3.1
podman-compose version 1.0.6
podman --version
podman version 4.3.1
exit code: 0

candleindark avatar Nov 24 '23 06:11 candleindark