sergeycherepanov / homebrew-docker-virtualbox

Docker workaround for Ryzentosh (AMD based Hackintosh)
208 stars 19 forks source link

file_put_contents(): Exclusive locks are not supported for this stream #8

Closed lucaspdude closed 3 years ago

lucaspdude commented 3 years ago

I hava a laravel application running with docker and the app is unable to start because of the following error.

Looking around i found the source of the problem, but i'm unable to fixit, since i have no idea how to do this. Can anyone help me?

`I had the same error, while using NFS to share my code from my developer machine to my Centos server. The problem seems to be that the server tried to access my NFS-shared files using NLM locking by default, so I had to disable locking in my settings. This is done by adding nolock in the NFS options in /etc/fstab

This fixed the issue for me`

lucaspdude commented 3 years ago

Fixed it by using https://github.com/adlogix/docker-machine-nfs#standalone this repo.