Is it possible to mount a drive to store files to be able to share with Containers.


Jul 14, 2021
I have trying to get a config file that i created on my Mac to my a Container in Prox VE on a designated Proxmox mini pc as the path is not recognised by the container, I was wondering if i could mount a drive for files only. So that it could be directed to the mount I currently have a drive for Backups etc.

Apologies for this trivial question but i am total novice.


Proxmox Staff Member
Staff member
Nov 19, 2018

yes you can. see bind mounts [0]

For example, to make the directory /mnt/bindmounts/shared accessible in the container with ID 100 under the path /shared, use a configuration line like mp0: /mnt/bindmounts/shared,mp=/shared in /etc/pve/lxc/100.conf. Alternatively, use pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared to achieve the same result.



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 your own in 60 seconds.

Buy now!