aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mullins <[email protected]>2021-11-30 00:14:10 +0000
committerGitHub <[email protected]>2021-11-30 00:14:10 +0000
commit029cd7a46df95917118cb44ae194f92bd6132b9c (patch)
tree4153721c03d4634e025029e6c998dd714bd6f383
parentFix hyperlink. Add missing legends from credits: @kaoudis, @chirag350, @TheHa... (diff)
downloaddocker-osx-029cd7a46df95917118cb44ae194f92bd6132b9c.tar.xz
docker-osx-029cd7a46df95917118cb44ae194f92bd6132b9c.zip
NFS mount documentation, locking issue
I ran into some issues when I ran software that was trying to lock files under the nfs folder. This was on Catalina and looks like this is a common issue with Mac -> Linux nfs. After digging into it, for my use case using the `locallocks` NFS option on the Mac client resolved it. The `locallocks` option means that locking is handled by the client. There would be problems if you actually need server side locking.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4173f67..627fd70 100644
--- a/README.md
+++ b/README.md
@@ -872,7 +872,7 @@ Start the Docker-OSX container with the additional flag `--network host`
Create and mount the nfs folder from the mac terminal:
```
mkdir -p ~/mnt
-sudo mount -t nfs 10.0.2.2:/srv/nfs/share ~/mnt
+sudo mount_nfs -o locallocks 10.0.2.2:/srv/nfs/share ~/mnt
```
### Share USB Drive into macOS over QEMU