I want to share my python projects folder with the container but I don’t want the container to be able to write to the host but I need it to be able to edit files in the projects folder on certain files only in the container.
The way I lsyncd works is when running it will always be updating the files from host to guest unless I have told it to exclude a file. So I can edit files on the guest and the changes in that folder will change locally and will not get updated from host if I have set the exclude. They never get changed on the host that way either.
So how could I have the same in lxc share. Where it only reads the host’s share but can read/write locally. Mostly read-only is fine but on certain scripts they need to write as well as they update files as they go deleting items etc, but I need that only locally on the container.