You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
:warning: There can be an issue with the NFS under Mac OS X High Sierra (see issue [#79](https://github.com/adlogix/docker-machine-nfs/issues/79) for more info) :warning:
* Mount drives under root (e.g. `/c`) - [Can be configured in `/etc/wsl.conf` - `automount`](https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/)
23
+
* Tested with these attributes: `docker-machine-nfs MACHINE-NAME --shared-folder=/c/Users/ --mount-opts="rw,vers=3,tcp,nolock,noacl,async"`
12
24
13
25
## Install
14
26
@@ -37,6 +49,9 @@ brew install docker-machine-nfs
37
49
38
50
## Usage
39
51
52
+
* Create `docker-machine` as usual
53
+
* Run `docker-machine-nfs`
54
+
40
55
```sh
41
56
42
57
@@ -73,7 +88,7 @@ Examples:
73
88
74
89
> Configure the /var/www folder with NFS and the options '-alldirs -maproot=0'
75
90
76
-
$ docker-machine-nfs test --mount-opts="noacl,async,nolock,vers=3,udp,noatime,actimeo=1"
91
+
$ docker-machine-nfs test --mount-opts="noacl,async,nolock,nfsvers=3,udp,noatime,actimeo=1"
77
92
78
93
> Configure the /User folder with NFS and specific mount options.
79
94
@@ -83,7 +98,19 @@ Examples:
83
98
84
99
```
85
100
101
+
## Troubleshooting
102
+
103
+
- **Failed to mount on WSL**
104
+
```
105
+
Allow following exe's in "Windows Firewall" or any other firewall software used
106
+
Directory -- c:/Program Files/nfsd
107
+
- pmapd.exe
108
+
- nfssrv.exe
109
+
- nfsd.exe
110
+
```
111
+
86
112
## Credits
87
113
88
-
Heavily inspired by @[mattes](https://github.com/mattes) ruby version
114
+
*Heavily inspired by @[mattes](https://github.com/mattes) ruby version
0 commit comments