docker-osx-dev icon indicating copy to clipboard operation
docker-osx-dev copied to clipboard

uninstall process

Open markshust opened this issue 9 years ago • 5 comments

How does one uninstall docker-osx-dev? I tried removing the script, however any host to docker mounts no longer work as they did before docker-osx-dev.

markshust avatar Jul 02 '15 02:07 markshust

A docker-osx-dev uninstall command analogous to docker-osx-dev install would be a great idea. PRs for that are more than welcome :)

The docker-osx-dev script runs Boot2Docker with the --vbox-share=disable flag. I suspect if you just run boot2docker stop and boot2docker start without any flags, it'll work fine.

brikis98 avatar Jul 02 '15 04:07 brikis98

Ok thanks, will try it out. Thanks for your work on this project, you put a lot of thought and effort into it :+1:

markshust avatar Jul 02 '15 04:07 markshust

@brikis98 could you provide just some instructions how we could remove docker-osx-dev?

kusmierz avatar Mar 04 '16 09:03 kusmierz

As of 03/04/16, uninstalling docker-osx-dev and all of its dependencies would probably take the following:

  • boot2docker stop or docker-machine stop dev
  • Remove the dockerhost entry from /etc/hosts
  • Open your env file (~/.bash_profile or ~/.bashrc or ~/.zshrc) and remove the entries below the # docker-osx-dev comment.
  • brew uninstall coreutils
  • brew uninstall fswatch
  • brew uninstall docker-machine
  • brew uninstall docker-compose
  • brew uninstall boot2docker
  • brew uninstall caskroom/cask/brew-cask
  • brew untap Caskroom/cask
  • Remove docker-osx-dev from wherever you downloaded it to (e.g. /usr/local/bin)

Obviously, skip the items you want to keep on your computer.

brikis98 avatar Mar 04 '16 16:03 brikis98

Thanks :)

kusmierz avatar Mar 08 '16 11:03 kusmierz