V5.0 Docker, Whitelist domain, writing to readonly database

Look at the ACLs of your host environment. Try "getfacl your_path_to_the_docker_shared_folder"

chmod won't fix ACL settings.