Multiple SMB Shares in LXC Container

eru2

New Member
Mar 25, 2023
8
0
1
I would like to mount multiple SMB Shares in an unprivileged LXC Container.
I added them to Proxmox and then with the pct set command added it to the container. But cant add more with this command.

Is it possible to mount multiple Shares to LXC Containers?
 
You can use lxc.mount.entry
edit /etc/pve/lxc/vid.conf
lxc.mount.entry: <pve location> <lxc location> none bind,create=dir,optional 0 0
 

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!