Unable to write to json file if script is symbolic link to host mount

You shouldn’t need security. privileged here, if not needed for your code id remove that.

There is a few ways to-do this, personally I quite like shiftfs if the container is local and not remote (In which case you can use the sshfs/sftp they recently introduced if remote)

Here’s some information on getting a shiftfs disk setup (despite doing it numerous times I cant remember the exact commands you need)

1 Like