LXC limit run containers

,

Good day,

it is possible to limit the number of containers at the LXC / D level.

I wanted to create containers via API and I would like to have a border. Make it impossible to create more than 50 containers per server.

well thank you

Take a look at LXD’s project limits:

https://linuxcontainers.org/lxd/docs/master/projects

Hi,
I’m blind. I had to overlook it.

limits.virtual-machines

Thank you for the quick reply