No offense against Docker. I like the concept and the software!
– This guide is based on V1.3.0 of the installer –
But I absolutely do not like the official Docker OS X installer (install manual) which you can download here.
The reason for this are:
- It installs Virtualbox and has downgraded my existing Virtualbox Host software!
- It installs an app and several binaries.
- Everything packaged up into a
.pkgand no uninstall app or instructions anywhere!
In summary it tries to do too much. Many developers use tools like Vagrant & Homebrew. Why not go that way?
Uninstall steps for boot2docker / Docker
Be sure you’ve only used the official installer. This uninstall guide is not the right one if you have installed Docker with e.g. Homebrew or other methods.
First stop boot2docker and delete the VBox image:
Remove the environmental variable DOCKER_HOST in case you have fixed it somewhere like e.g. in .bash_profile
Drag and Drop the boot2docker app logo from applications into the trash can of OS X.
Remove Docker and boot2docker command line tools:
Remove boot2docker VBox image:
Remove boot2docker ssh keys:
Remove additional boot2docker files in /private folder:
(Optional) Uninstall steps for Virtualbox
You can also delete Virtualbox of course. But if you are a developer you probably need it anyway. In case your VBox got also downgraded: Reinstall Virtualbox.
If you really want to uninstall Virtualbox:
- Download the latest official Virtualbox installer.
- Open the DMG file and execute the uninstaller. Simple!
But I like Docker, how to install it without pain on OS X and how to upgrade?
I will explain this in a later post! :)
Update 2014-10-06:
Update 2014-11-13:
- Added ssh keys uninstall. Thx to @mtscout6
Update 2014-11-21:
- boot2docker has now an official uninstall script but I do not know how you are supposed to run it except downloading it directly from github and execute it :( Today I’ve checked and it is not inside the official pkg installer. It also does not remove the boot2docker app from your programs.
- Added uninstall routines for
/privatefolder.
本文提供了一步一步的指南,详细解释了如何卸载官方的Docker OS X安装程序,包括虚拟机软件VirtualBox的卸载,并提供了额外的清理步骤以确保彻底清除所有相关组件。

6874

被折叠的 条评论
为什么被折叠?



