User Tools

Site Tools


proxmox:bind_mounts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
proxmox:bind_mounts [2015/08/31 16:49]
cbustillo created
proxmox:bind_mounts [2015/08/31 17:01]
cbustillo
Line 1: Line 1:
-====== ​Bind mounts ​======+====== ​Introduction ​======
  
 Bind mounts can be used to make directories on the hardware node (Proxmox node) visible to the container. Bind mounts can be used to make directories on the hardware node (Proxmox node) visible to the container.
Line 7: Line 7:
 1- Create a file named 777.mount inside /​etc/​vz/​conf:​ 1- Create a file named 777.mount inside /​etc/​vz/​conf:​
  
- nano /​etc/​vz/​conf/​777.mount+ nano /​etc/​vz/​conf/​777.mount
   
 2- Insert the following: 2- Insert the following:
Line 27: Line 27:
 3- Assign execution permission to the above file: 3- Assign execution permission to the above file:
  
- chmod +x /​etc/​vz/​conf/​777.mount+ chmod +x /​etc/​vz/​conf/​777.mount
   
 When you restart Proxmox or CT you can see mounted /mnt/disk inside the 777 CT. When you restart Proxmox or CT you can see mounted /mnt/disk inside the 777 CT.
proxmox/bind_mounts.txt ยท Last modified: 2015/08/31 17:01 by cbustillo