Skip to content

Instantly share code, notes, and snippets.

@katsew
Created June 17, 2018 01:56
Show Gist options
  • Save katsew/5bd1ecdb9f13c815474bc8ade128dafb to your computer and use it in GitHub Desktop.
Save katsew/5bd1ecdb9f13c815474bc8ade128dafb to your computer and use it in GitHub Desktop.
Docker nfs volume
#!/bin/bash
docker volume create \
--driver local \
--opt type=nfs \
--opt o=addr=host.docker.internal,rw,vers=3,tcp,fsc,actimeo=2 \
--opt device=:`pwd`/public \
example_public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment