Create Unprivileged LXC Containers with API?

qubozik

Member
Jun 4, 2016
16
0
21
39
Hello,

Is it possible to create an unprivileged LXC container using the API? Is the --unprivileged flag supported?

I don't see it in the API docs, but I figured I would ask. I can create a unprivileged LXC container using pvesh and the --unprivileged flag.

Would that be the same as using the API through a PHP library?

Thank you in advance!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!