I have 2 computers. 1 computer install ubuntu server and 1 machine working daily. On ubuntu I installed lxd with snap and I created a container called webServ
webServ container và ubuntu host chia sẻ chung folder sites bằng lệnh
lxc config device add webServ sites disk source=~/rslsync/sites path=/var/www shift=true
Ubuntu host and my 2nd computer sync data with Resilio, including ~/rslsync/sites directory on ubuntu host.
The problem I am having is that if I edit the file directly in the ~/rslsync/sites folder on the ubuntu host then when I go into the webServ container I read the file I will see the updates. But if I edit the file on 2nd computer, it will only see the update on ubuntu host but not in webServ container.
I don’t know where the problem is and is there a way to work it out?