guys - im having trouble mounting a samba share inside container (ubuntu 12.04)
so im trying this from the node.. to share a folder inside two containers
source: /var/lib/vz/private/100/home/folder
destination: /var/lib/vz/private/101/home/folder
now, why can't i see the data from inside container 101?
FROM 101: ls /home/folder shows nothing.
however, i can see the data from the node
FROM NODE: ls /var/lib/vz/private/101/home/folder
so im trying this from the node.. to share a folder inside two containers
source: /var/lib/vz/private/100/home/folder
destination: /var/lib/vz/private/101/home/folder
Code:
vzctl exec 101 mkdir /home/folder
mount --bind /var/lib/vz/private/100/home/folder /var/lib/vz/private/101/home/folder
now, why can't i see the data from inside container 101?
FROM 101: ls /home/folder shows nothing.
however, i can see the data from the node
FROM NODE: ls /var/lib/vz/private/101/home/folder