Last active
May 23, 2020 08:45
-
-
Save dnaprawa/85b8900352a965552f4f82c3b3ac74c7 to your computer and use it in GitHub Desktop.
Docker Desktop for Mac - bind mounts optimization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3' | |
services: | |
myapp: | |
volumes: | |
- 'nfsmount:<CONATINER_PATH_HERE>' | |
volumes: | |
nfsmount: | |
driver: local | |
driver_opts: | |
type: nfs | |
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3 | |
device: ":<HOST_PATH_HERE>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment