Article Objective Many people work exclusively from a laptop where storage space is typically limited to 500GB of space or less. Over time, you may find your available storage space has become a regular concern. It's not uncommon to use an external hard drive to augment available storage space. The current version of Docker for Mac (1.12.x) does not provide a configuration setting which allows users to change the location where the Docker virtual machine image is located. This means the image, which can grow up to 64GB in size by default, is located on your laptop's primary hard drive.
With the HDP 2.5 version of the Hortonworks sandbox available as a native Docker image, you may find a desire to have more room available to Docker. This tutorial will guide you through the process of moving your Docker virtual machine image to a different location, an external drive in this case. This will free up to 64GB of space on your primary laptop hard drive and let you expand the size of the Docker image file later.
This tutorial is the first in a two part series. Prerequisites.
Docker provides a solution for running on Mac and Linux called boot2docker. Boot2docker is a minimal Linux virtual machine with just enough installed to run Docker.It also provides shell initialization scripts to enable use of Docker command line tools from the host OS (Windows or Mac), mapping them into the Docker host process running inside the boot2docker VM. For Windows and Mac users is slightly more complicated. Since Docker only works in a Linux environment, to be able to use it in Windows and Mac you need boot2docker (which you should have from the installation guide). This is in fact a VM that runs Docker on Linux completely from memory. To access the Docker containers you need to refer to this.
![Docker for mac edge Docker for mac edge](/uploads/1/2/5/4/125457606/242096374.png)
You should have already completed the following tutorial. You should have an external or secondary hard drive available. Scope.
Mac OS X 10.11.6 (El Capitan). Docker for Mac 1.12.1. HDP 2.5 Docker Sandbox Steps Stop Docker for Mac Before we can make any changes to the Docker virtual machine image, we need to stop Docker for Mac. There should be a Docker for Mac icon in the menu bar.
You should see something similar to this.