Hello
Have Proxmox 3.4-13.
Need to share pictures folder between 3 containers. One container as storage and two who use it. Now I share it like this:
and put it to 100.mount and 103.mount
There is no problem, but - I create file in /home/bitrix/www/images/main/ in 103 container and it is not available in 100 container.
102 container ( picture storage ) is stopped. When I restart 100 and 103 containers - 100 in
/home/bitrix/www/images/main/ has only files created by 100 container, same happen with 103 container.
df show picture folder mounted properly in two containers. If I go in host machine to /var/lib/vz/private/100/home/bitrix/www/images/main - it's empty.
What I do wrong? Maybe you can give advice about how to store pictures in my case?
Have Proxmox 3.4-13.
Need to share pictures folder between 3 containers. One container as storage and two who use it. Now I share it like this:
Code:
mount -n -t simfs /var/lib/vz/private/104/home/main/ ${VE_ROOT}/home/bitrix/www/images/main/ -o /var/lib/vz/private/104/home/main/
There is no problem, but - I create file in /home/bitrix/www/images/main/ in 103 container and it is not available in 100 container.
102 container ( picture storage ) is stopped. When I restart 100 and 103 containers - 100 in
/home/bitrix/www/images/main/ has only files created by 100 container, same happen with 103 container.
df show picture folder mounted properly in two containers. If I go in host machine to /var/lib/vz/private/100/home/bitrix/www/images/main - it's empty.
What I do wrong? Maybe you can give advice about how to store pictures in my case?