# How to add a bind mount point aka shared storage ?

By
Adrien

For example, to make the directory /mnt/shared accessible in the container with ID 100 under the path /shared, add a configuration line such as:

mp0: /mnt/shared,mp=/shared,backup=0

# Change configuration manually

  1. Edit /etc/pve/lxc/.conf
nano /etc/pve/lxc/{lxc_id}/conf

Add the following line :

mp0: /mnt/shared,mp=/shared,backup=0

# Change configuration by CLI

Use the pct tool :

pct set 100 -mp0 /mnt/shared,mp=/shared