Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove nfs? #34

Open
frankcarey opened this issue Jan 7, 2016 · 4 comments
Open

How to remove nfs? #34

frankcarey opened this issue Jan 7, 2016 · 4 comments

Comments

@frankcarey
Copy link

So, if we want to uninstall the nfs support, is there an easy way to do that?

@brandontamm
Copy link

@tonivdv - I'm guessing, but I think just delete docker-machine-nfs from /usr/local/bin

@frankcarey
Copy link
Author

no, sorry.. I mean to remove the nfs mount that docker-machine-nfs creates (basically a docker-machine-nfs undo)

@tonivdv
Copy link
Member

tonivdv commented Jan 8, 2016

Hey @frankcarey ,

Seems a nice feature to add :) . But basically if you remove the /var/lib/boot2docker/bootlocal.sh from your box and restart it should return to the basic functionality. Additionally you can clean the /etc/exports too by removing the line related to your box.

@kadishmal
Copy link

I need this feature, too. After completing the project which required this NFS volume support for local development, I need to switch to another project which can't use NFS volumes, so it's necessary to remove the NFS support.

I followed @tonivdv's suggestion and commented out the contents of the /var/lib/boot2docker/bootlocal.sh file, just in case one day I need NFS back. Would be nice to have a command that would do this cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants