Skip to content

Instantly share code, notes, and snippets.

@sanderson
Last active February 8, 2017 00:15
Show Gist options
  • Save sanderson/73d91939710bf99992cdd5baf35adc89 to your computer and use it in GitHub Desktop.
Save sanderson/73d91939710bf99992cdd5baf35adc89 to your computer and use it in GitHub Desktop.
Moving from Nanobox v1 to v2

Moving from Nanobox v1 to v2

Nanobox v2 is here and provides some significant advantages when compared to v1 (most notable is support for native Docker containers). There have been changes to the Nanobox core that require a fresh install.

Uninstall Nanobox v1

If you have local data you want to preserve, you should export it before unistalling

  1. Use the nanobox implode command to destroy all your v1 apps.
  2. Remove/Uninstall the Nanobox binaries - nanobox and nanobox-update. (Windows users, do this through the system uninstaller)
  3. If you've been using netfs for filesystem mounting, remove the Nanobox entries in your /ect/exports files.

Download and Run the v2 Installer

The v2 installer can be downloaded from your dashboard: https://dashboard.nanobox.io/download

Quick Notes:

Docker Native

  • To use native docker containers, you must have Docker installed on your machine. Nanobox will not install Docker for you.
  • Due to Docker's Mac filesystem driver, native docker containers are actually less performant on MacOS than using VirutalBox/Docker-Machine.
  • In Windows, when it comes to performance, Docker Native vs VirtualBox/Docker-Machine is about the same. VirtualBox/Docker-Machine has a slight edge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment