read only lxc mount points

carbonjoker

New Member
Oct 3, 2014
20
0
1
hello,

is it possible to mount a read only directory into an lxc?

as it currently stands i can mount a directory from the host into the lxc by adding this line into the config for the lxc:

mp0: /mnt/hostlocation,mp=/mnt/lxclocation

however this is for both read and write. is it possible to do this as a read only? thanks
 
currently not, but I guess that would be a useful feature to implement. Please can you open a bug report at
bugzilla.proxmox.com?
 

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!