Docker/Portainer in privileged LXC not able to run privileged container?

pixelwave

New Member
Jan 26, 2023
18
2
3
Hi,

I have a proxmox server with two fresh Debian 11 LXC container:

Bildschirmfoto 2023-01-28 um 11.59.21.png
Bildschirmfoto 2023-01-28 um 11.52.37.png

103/docker2 -> is an unprivileged LXC container
104/docker3 -> is a privileged LXC container

Now the problem when I try to run a test container in portainer (e.g, ubuntu with console / TTY) and set the "Privileged mode" under "runtime and resources" the container starts in the 103/docker2 but in the 104/docker3 it throws an error "Request failed with status code 500"?

Both docker and portainer installs done following the official resources, run as root without errors:
Docker Install
https://docs.docker.com/engine/install/debian/#install-using-the-repository

Portainer Install
https://docs.portainer.io/start/install/server/docker/linux

Ideally I need a privileged LXC container because I want to bind NFS shares to the containers in portainer ...
 
Last edited:

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!