Merge pull request #11587 from usha-mandya/engdocs-354

Remove Docker Toolbox docs
This commit is contained in:
Sebastiaan van Stijn 2020-10-20 23:33:50 +02:00 committed by GitHub
commit 088c702b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 179 additions and 974 deletions

View File

@ -12,7 +12,6 @@ texts:
rc: "The Swarm mode feature included in Docker Engine 1.12 is a release candidate feature and might be subject to non backward-compatible changes. Some functionality may change before the feature becomes generally available."
docker4mac-beta: "Docker Desktop for Mac is currently in public beta. Some functionality may change before the product becomes generally available."
docker4win-beta: "Docker Desktop for Windows is currently in public beta. Some functionality may change before the product becomes generally available."
toolbox: "**Legacy desktop solution.** Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of [Docker Desktop for Mac](/docker-for-mac/) and [Docker Desktop for Windows](/docker-for-windows/). We recommend updating to the newer applications, if possible."
kitematic: "**Legacy desktop solution.** Kitematic is a legacy solution, bundled with [Docker Toolbox](/toolbox/overview/). We recommend updating to [Docker Desktop for Mac](/docker-for-mac/) or [Docker Desktop for Windows](/docker-for-windows/) if your system meets the requirements for one of those applications."
swarm: "See [Swarm mode overview](/engine/swarm/) for the orchestration features introduced in Docker Engine 1.12. Only refer to the Docker Swarm documents below for information on the standalone Swarm product."
swarm-standalone: "**You are viewing docs for legacy standalone Swarm.** These topics describe standalone Docker Swarm. In Docker 1.12 and higher, [Swarm mode](/engine/swarm/) is integrated with Docker Engine. Most users should use integrated Swarm mode — a good place to start is [Getting started with swarm mode](/engine/swarm/swarm-tutorial/), [Swarm mode CLI commands](/engine/swarm/#swarm-mode-cli-commands), and the [Get started with Docker walkthrough](/get-started/)). Standalone Docker Swarm is not integrated into the Docker Engine API and CLI commands."

View File

@ -8,11 +8,6 @@ aufs: |
base image: |
A **base image** has no parent image specified in its Dockerfile. It is created
using a Dockerfile with the `FROM scratch` directive.
boot2docker: |
[boot2docker](http://boot2docker.io/) is a lightweight Linux distribution made
specifically to run Docker containers. The boot2docker management tool for Mac
and Windows was deprecated and replaced by [`docker-machine`](#machine) which
you can install with the Docker Toolbox.
btrfs: |
btrfs (B-tree file system) is a Linux [filesystem](#filesystem) that Docker
supports as a storage backend. It is a [copy-on-write](http://en.wikipedia.org/wiki/Copy-on-write)
@ -81,8 +76,7 @@ Docker Desktop for Mac: |
Mac application, Docker Desktop for Mac uses the macOS Hypervisor
framework, networking, and filesystem. It's the best solution if you want
to build, debug, test, package, and ship Dockerized applications on a
Mac. Docker Desktop for Mac supersedes [Docker Toolbox](#toolbox) as
state-of-the-art Docker on macOS.
Mac.
Docker Desktop for Windows: |
[Docker Desktop for Windows](/docker-for-windows/) is an
easy-to-install, lightweight Docker development environment designed
@ -92,8 +86,7 @@ Docker Desktop for Windows: |
2016, and gives you the ability to set up and run Windows containers as well as
the standard Linux containers, with an option to switch between the two. Docker
for Windows is the best solution if you want to build, debug, test, package, and
ship Dockerized applications from Windows machines. Docker Desktop for Windows
supersedes [Docker Toolbox](#toolbox) as state-of-the-art Docker on Windows.
ship Dockerized applications from Windows machines.
Docker Hub: |
The [Docker Hub](https://hub.docker.com/) is a centralized resource for working with
Docker and its components. It provides the following services:
@ -150,11 +143,6 @@ image: |
execution parameters for use within a container runtime. An image typically
contains a union of layered filesystems stacked on top of each other. An image
does not have state and it never changes.
Kitematic: |
A legacy GUI, bundled with [Docker Toolbox](#toolbox), for managing Docker
containers. We recommend upgrading to [Docker Desktop for Mac](#docker_desktop_for_mac)
or [Docker Desktop for Windows](#docker_desktop_for_windows), which have
superseded Kitematic.
layer: |
In an image, a layer is modification to the image, represented by an instruction in the
Dockerfile. Layers are applied in sequence to the base image to create the final image.
@ -283,17 +271,6 @@ task: |
containers.
![services diagram](/engine/swarm/images/services-diagram.png)
Toolbox: |
[Docker Toolbox](/toolbox/overview/) is a legacy
installer for Mac and Windows users. It uses Oracle VirtualBox for
virtualization.
For Macs running OS X El Capitan 10.11 and newer macOS releases, [Docker Desktop for
Mac](/docker-for-mac/) is the better solution.
For Windows 10 systems that support Microsoft Hyper-V (Professional, Enterprise
and Education), [Docker Desktop for
Windows](/docker-for-windows/) is the better solution.
Union file system: |
Union file systems implement a [union
mount](https://en.wikipedia.org/wiki/Union_mount) and operate by creating

View File

@ -1154,8 +1154,6 @@ manuals:
title: User manual
- path: /docker-for-mac/kubernetes/
title: Deploy on Kubernetes
- path: /docker-for-mac/docker-toolbox/
title: Docker Desktop for Mac vs. Docker Toolbox
- path: /docker-for-mac/multi-arch/
title: Leveraging Multi-CPU architecture support
- path: /docker-for-mac/networking/
@ -1182,8 +1180,6 @@ manuals:
title: Deploy on Kubernetes
- path: /docker-for-windows/networking/
title: Networking
- path: /docker-for-windows/docker-toolbox/
title: Migrate Docker Toolbox
- path: /docker-for-windows/troubleshoot/
title: Logs and troubleshooting
- path: /docker-for-windows/faqs/
@ -1446,14 +1442,8 @@ manuals:
title: VMware vSphere
- path: /machine/migrate-to-machine/
title: Migrate from Boot2Docker to Machine
- sectiontitle: Docker Toolbox (legacy)
section:
- path: /toolbox/overview/
title: Toolbox overview
- path: /toolbox/toolbox_install_mac/
title: Install Toolbox on Mac
- path: /toolbox/toolbox_install_windows/
title: Install Toolbox on Windows
- path: /docker-for-windows/docker-toolbox/
title: Docker Toolbox (deprecated)
- sectiontitle: Kitematic
section:
- path: /kitematic/userguide/

View File

@ -51,24 +51,18 @@ Python package manager or installing Compose as a container.
### Install Compose on macOS
**Docker Desktop for Mac** and **Docker Toolbox** already include Compose along
**Docker Desktop for Mac** includes Compose along
with other Docker apps, so Mac users do not need to install Compose separately.
Docker install instructions for these are here:
* [Get Docker Desktop for Mac](../docker-for-mac/install.md)
* [Get Docker Toolbox](../toolbox/overview.md) (for older systems)
For installation instructions, see [Install Docker Desktop on Mac](../docker-for-mac/install.md).
</div>
<div id="windows" class="tab-pane fade" markdown="1">
### Install Compose on Windows desktop systems
**Docker Desktop for Windows** and **Docker Toolbox** already include Compose
**Docker Desktop for Windows** includes Compose
along with other Docker apps, so most Windows users do not need to
install Compose separately. Docker install instructions for these are here:
* [Get Docker Desktop for Windows](../docker-for-windows/install.md)
* [Get Docker Toolbox](../toolbox/overview.md) (for older systems)
install Compose separately. For install instructions, see [Install Docker Desktop on Windows](../docker-for-windows/install.md).
If you are running the Docker daemon and client directly on Microsoft
Windows Server, follow the instructions in the Windows Server tab.

View File

@ -83,7 +83,7 @@ Supported values are: `TLSv1`, `TLSv1_1`, `TLSv1_2`.
## COMPOSE\_CONVERT\_WINDOWS\_PATHS
Enable path conversion from Windows-style to Unix-style in volume definitions.
Users of Docker Machine and Docker Toolbox on Windows should always set this. Defaults to `0`.
Users of Docker Machine on Windows should always set this. Defaults to `0`.
Supported values: `true` or `1` to enable, `false` or `0` to disable.
## COMPOSE\_PATH\_SEPARATOR

View File

@ -15,6 +15,7 @@ redirect_from:
- /mackit/getting-started/
- /docker-for-mac/osxfs/
- /docker-for-mac/osxfs-caching/
- /docker-for-mac/docker-toolbox/
title: Docker Desktop for Mac user manual
toc_min: 1
toc_max: 2

View File

@ -13,17 +13,10 @@ By downloading Docker Desktop, you agree to the terms of the [Docker Software En
## What to know before you install
> README FIRST for Docker Toolbox and Docker Machine users
>
>If you are already running Docker on your machine, first read
[Docker Desktop for Mac vs. Docker Toolbox](docker-toolbox.md) to understand the
impact of this installation on your existing setup, how to set your environment
for Docker Desktop on Mac, and how the two products can coexist.
**Relationship to Docker Machine**: Installing Docker Desktop on Mac does not affect machines you created with Docker Machine. You have the option to copy containers and images from your local `default` machine (if one exists) to the Docker Desktop [HyperKit](https://github.com/docker/HyperKit/) VM. When
you are running Docker Desktop, you do not need Docker Machine nodes running locally (or anywhere else). With Docker Desktop, you have a new, native
virtualization system running (HyperKit) which takes the place of the
VirtualBox system. To learn more, see [Docker Desktop for Mac vs. Docker Toolbox](docker-toolbox.md).
VirtualBox system.
## System requirements

View File

@ -222,13 +222,7 @@ in the Apple documentation, and Docker Desktop [Mac system requirements](install
* If `docker` commands aren't working properly or as expected, you may need to
unset some environment variables, to make sure you are not using the legacy
Docker Machine environment in your shell or command window. Unset the
`DOCKER_HOST` environment variable and related variables.
* If you use bash, use the following command: `unset ${!DOCKER_*}`
* For other shells, unset each environment variable individually as described
in [Setting up to run Docker Desktop on Mac](docker-toolbox.md#setting-up-to-run-docker-desktop-on-mac)
in [Docker Desktop on Mac vs. Docker Toolbox](docker-toolbox.md).
`DOCKER_HOST` environment variable and related variables. If you use bash, use the following command: `unset ${!DOCKER_*}`
* Network connections fail if the macOS Firewall is set to "Block all incoming
connections". You can enable the firewall, but `bootpd` must be allowed
@ -236,9 +230,9 @@ in the Apple documentation, and Docker Desktop [Mac system requirements](install
* For the `hello-world-nginx` example, Docker Desktop must be running to get to
the web server on `http://localhost/`. Make sure that the Docker icon is
displayed on the menu bar, and that you run the Docker commands in a shell that is connected to the Docker Desktop Engine (not Engine from Toolbox).
displayed on the menu bar, and that you run the Docker commands in a shell that is connected to the Docker Desktop Engine.
Otherwise, you might start the webserver container but get a "web page not
available" error when you go to `localhost`. For more information on distinguishing between the two environments, see [Docker Desktop on Mac vs. Docker Toolbox](docker-toolbox.md).
available" error when you go to `localhost`.
* If you see errors like `Bind for 0.0.0.0:8080 failed: port is already
allocated` or `listen tcp:0.0.0.0:8080: bind: address is already in use`:

View File

@ -1,17 +1,61 @@
---
description: Docker Desktop for Windows and Docker Toolbox
keywords: windows, alpha, beta, toolbox, docker-machine, tutorial
title: Migrate Docker Toolbox
hide_from_sitemap: true
title: Docker Toolbox
redirect_from:
- /toolbox/
- /toolbox/overview/
- /toolbox/toolbox_install_mac/
- /toolbox/toolbox_install_windows/
- /toolbox/faqs/
- /toolbox/faqs/troubleshoot/
- /docker-for-mac/docker-toolbox/
toc_min: 1
toc_max: 2
---
This page explains how to migrate your Docker Toolbox disk image, or images if
you have them, to Docker Desktop for Windows.
>**Deprecated**
>
> Docker Toolbox has been deprecated and is no longer in active development. Please use Docker Desktop instead. See [Docker Desktop for Mac](../docker-for-mac/index.md) and [Docker Desktop for Windows](../docker-for-windows/index.md).
{: .warning }
## How to migrate Docker Toolbox disk images to Docker Desktop
This page explains how to migrate your Docker Toolbox disk images to Docker Desktop. It also contains instructions on how to uninstall Docker Toolbox from Mac and Windows machines.
Docker Desktop does not propose Toolbox image migration as part of its
installer since version 18.01.0. You can migrate existing Docker
Toolbox images with the steps described below.
## Migrate from Docker Toolbox to Docker Desktop on Mac
You can migrate existing Docker Toolbox images with the steps described below.
In a terminal, while running Toolbox, use `docker commit` to create an image snapshot
from a container, for each container you wish to preserve:
```
$ docker commit nginx
sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df022
```
Next, export each of these images (and any other images you wish to keep):
```
$ docker save -o nginx.tar sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df022
```
Next, when running Docker Desktop on Mac, reload all these images:
```
$ docker load -i nginx.tar
Loaded image ID: sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df022
```
Note these steps will not migrate any `docker volume` contents: these must
be copied across manually.
Finally (optional), if you are done with Docker Toolbox, you can fully
[uninstall](#uninstall-docker-toolbox-on-windows) Docker Toolbox using the instructions described in the following section.
## Migrate from Docker Toolbox to Docker Desktop on Windows
You can migrate existing Docker Toolbox images with the steps described below.
In a terminal, while running Toolbox, use `docker commit` to create an image snapshot
from a container, for each container you wish to preserve:
@ -37,8 +81,108 @@ Loaded image ID: sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111
Note these steps will not migrate any `docker volume` contents: these must
be copied across manually.
## How to uninstall Docker Toolbox
## Uninstall Docker Toolbox
Whether or not you migrate your Docker Toolbox images, you may decide to
uninstall it. For details on how to perform a clean uninstall of Toolbox,
see [How to uninstall Toolbox](../toolbox/toolbox_install_windows.md#how-to-uninstall-toolbox){: target="_blank" rel="noopener" class="_"}.
Removing Toolbox involves removing all the Docker components it includes.
A full uninstall also includes removing the local and remote machines
you created with Docker Machine. In some cases, you might want to keep
machines created with Docker Machine. For example, if you plan to re-install Docker Machine as a part of Docker Desktop, you can continue to manage those machines through Docker. Or, if you have remote machines on a cloud provider and you plan to manage them using the provider, you wouldn't want to remove
them. So, the step to remove machines is described here as optional.
### Uninstall Docker Toolbox on Mac
To uninstall Docker Toolbox on Mac:
1. List your machines.
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev * virtualbox Running tcp://192.168.99.100:2376
my-docker-machine virtualbox Stopped
default virtualbox Stopped
```
2. Optionally, remove each machine. For example:
```
$ docker-machine rm my-docker-machine
Successfully removed my-docker-machine
```
This step is optional because if you plan
to re-install Docker Machine as a part
of [Docker Desktop for Mac](../docker-for-mac/index.md), you can import and
continue to manage those machines through Docker.
3. In your "Applications" folder, remove the "Docker" directory,
which contains "Docker Quickstart Terminal" and "Kitematic".
4. Run the following in a command shell to fully remove Kitematic:
```
$ rm -fr ~/Library/Application\ Support/Kitematic
```
5. Remove the `docker`, `docker-compose`, and `docker-machine` commands from
the `/usr/local/bin` folder. Docker Desktop for Mac and Brew may also have
installed them; in case of doubt leave them, or reinstall them via Brew, or
rerun Docker Desktop for Mac (no need to reinstall it).
```
$ rm -f /usr/local/bin/docker
$ rm -f /usr/local/bin/docker-compose
$ rm -f /usr/local/bin/docker-machine
```
6. Optionally, remove the `~/.docker/machine` directory.
This directory stores some configuration and/or state, such as information
about created machines and certificates.
7. Uninstall Oracle VirtualBox, which is installed as a part of the
Toolbox install.
### Uninstall Docker Toolbox on Windows
To uninstall Toolbox on Windows:
1. List your machines.
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev * virtualbox Running tcp://192.168.99.100:2376
my-docker-machine virtualbox Stopped
default virtualbox Stopped
```
2. Optionally, remove each machine. For example:
```
$ docker-machine rm my-docker-machine
Successfully removed my-docker-machine
```
This step is optional because if you plan to re-install Docker Machine as a
part of [Docker Desktop for Windows](../docker-for-windows/index.md), you can
import and continue to manage those machines through Docker.
3. Uninstall Docker Toolbox using Window's standard process for uninstalling programs through the control panel (programs and features).
>**Note**: This process does not remove the `docker-install.exe` file. You must delete that file yourself.
4. Optionally, remove the `C:\Users\<your-user>\.docker` directory.
If you want to remove Docker entirely, you
can verify that the uninstall removed
the `.docker` directory under your user path.
If it is still there, remove it manually.
This directory stores some Docker
program configuration and state, such as
information about created machines and
certificates. You usually don't need to remove this directory.
5. Uninstall Oracle VirtualBox, which is
installed as a part of the Toolbox install.

View File

@ -10,6 +10,7 @@ redirect_from:
- /windows/started/
- /winkit/
- /winkit/getting-started/
title: Docker Desktop for Windows user manual
toc_min: 1
toc_max: 2

View File

@ -434,7 +434,7 @@ consult the shell's documentation.
For the `hello-world-nginx` example and others, Docker Desktop must be
running to get to the webserver on `http://localhost/`. Make sure that the
Docker whale is showing in the menu bar, and that you run the Docker commands in
a shell that is connected to the Docker Desktop Engine (not Engine from Toolbox). Otherwise, you might start the webserver container but get a "web page
a shell that is connected to the Docker Desktop Engine. Otherwise, you might start the webserver container but get a "web page
not available" error when you go to `docker`.
### How to solve `port already allocated` errors

View File

@ -5,6 +5,6 @@ keywords: docker, documentation, about, technology, kitematic, gui
title: Kitematic
---
Kitematic, the Docker GUI, runs on Mac and Windows operating systems. Beginning with the 1.8 Docker release, you use the [Docker Toolbox](/toolbox/overview/) to install Kitematic.
Kitematic, the Docker GUI, runs on Mac and Windows operating systems.
For information about using Kitematic, take a look at the [User Guide](userguide.md).

View File

@ -28,8 +28,6 @@ First, if you haven't yet done so, download and install Kitematic in one of the
* Choose **Kitematic** from the Docker Desktop for Mac or Docker Desktop for Windows menu to get started with the Kitematic install.
* Install [Docker Toolbox](../toolbox/overview.md#ready-to-get-started) (on older systems that do not meet the requirements of [Docker Desktop for Mac](../docker-for-mac/install.md#what-to-know-before-you-install) or [Docker Desktop for Windows](../docker-for-windows/install.md#what-to-know-before-you-install)).
* Download Kitematic directly from the [Kitematic releases page](https://github.com/docker/kitematic/releases/).
Start Kitematic. (On desktop systems, click on the app.)

View File

@ -11,12 +11,9 @@ Docker host inside of a local virtual machine.
## Prerequisite information
With the advent of [Docker Desktop for Mac](../docker-for-mac/index.md) and
[Docker Desktop for Windows](../docker-for-windows/index.md) as replacements for
[Docker Toolbox](../toolbox/overview.md), we recommend that you use these for your
[Docker Desktop for Windows](../docker-for-windows/index.md), we recommend that you use these for your
primary Docker workflows. You can use these applications to run Docker natively
on your local system without using Docker Machine at all. (See
[Docker Desktop for Mac vs. Docker Toolbox](../docker-for-mac/docker-toolbox.md)
for an explanation on the Mac side.)
on your local system without using Docker Machine at all.
For now, however, if you want to create _multiple_ local machines, you still
need Docker Machine to create and manage machines for multi-node
@ -58,40 +55,10 @@ lightweight macOS virtualization solution built on top of the
Currently, there is no `docker-machine create` driver for HyperKit, so
use the `virtualbox` driver to create local machines. (See the
[Docker Machine driver for Oracle VirtualBox](drivers/virtualbox.md).) You can
run both HyperKit and Oracle VirtualBox on the same system. To learn more, see
[Docker Desktop for Mac vs. Docker Toolbox](../docker-for-mac/docker-toolbox.md).
run both HyperKit and Oracle VirtualBox on the same system.
* Make sure you have [the latest VirtualBox](https://www.virtualbox.org/wiki/Downloads){: target="_blank" rel="noopener" class="_"}
correctly installed on your system (either as part of an earlier Toolbox install,
or manual install).
#### If you are using Docker Toolbox
Docker Desktop for Mac and Docker Desktop for Windows both require newer versions of their
respective operating systems, so users with older OS versions must use Docker
Toolbox.
* If you are using Docker Toolbox on either Mac or an older version Windows
system (without Hyper-V), use the `virtualbox` driver to create a local machine
based on Oracle [VirtualBox](https://www.virtualbox.org/){:target="_blank" rel="noopener" class="_"}.
(See the [Docker Machine driver for Oracle VirtualBox](drivers/virtualbox.md).)
* If you are using Docker Toolbox on a Windows system that has Hyper-V but cannot
run Docker Desktop for Windows (for example Windows 8 Pro), you must use the
`hyperv` driver to create local machines. (See th
[Docker Machine driver for Microsoft Hyper-V](drivers/hyper-v.md).)
* Make sure you have [the latest VirtualBox](https://www.virtualbox.org/wiki/Downloads){: target="_blank" rel="noopener" class="_"}
correctly installed on your system. If you used
[Toolbox](https://www.docker.com/products/docker-toolbox){: target="_blank" rel="noopener" class="_"}
or [Docker Desktop for Windows](../docker-for-windows/index.md){: target="_blank" rel="noopener" class="_"}
to install Docker Machine, VirtualBox is
automatically installed.
* If you used the Quickstart Terminal to launch your first machine and set your
terminal environment to point to it, a default machine was automatically
created. If so, you can still follow along with these steps, but
create another machine and name it something other than `default`.
correctly installed on your system.
## Use Machine to run Docker containers
@ -125,9 +92,7 @@ The examples here show how to create and start a machine, run Docker commands, a
it `default` as shown in the example. If you already have a "default" machine,
choose another name for this new machine.
* If you are using Toolbox on Mac, Toolbox on older Windows systems without Hyper-V, or Docker Desktop for Mac, use `virtualbox` as the driver, as shown in this example. (The Docker Machine VirtualBox driver reference is [here](drivers/virtualbox.md).) (See [prerequisites](get-started.md#prerequisite-information) above to learn more.)
* On Docker Desktop for Windows systems that support Hyper-V, use the `hyperv` driver as shown in the [Docker Machine Microsoft Hyper-V driver reference](drivers/hyper-v.md) and follow the [example](drivers/hyper-v.md#example), which shows how to use an external network switch and provides the flags for the full command. (See [prerequisites](get-started.md#prerequisite-information) above to learn more.)
On Docker Desktop for Windows systems that support Hyper-V, use the `hyperv` driver as shown in the [Docker Machine Microsoft Hyper-V driver reference](drivers/hyper-v.md) and follow the [example](drivers/hyper-v.md#example), which shows how to use an external network switch and provides the flags for the full command. (See [prerequisites](get-started.md#prerequisite-information) above to learn more.)
$ docker-machine create --driver virtualbox default
Running pre-create checks...
@ -292,10 +257,7 @@ For machines other than `default`, and commands other than those listed above, y
## Unset environment variables in the current shell
You might want to use the current shell to connect to a different Docker Engine.
This would be the case if, for example, you are
[running Docker Desktop for Mac concurrent with Docker Toolbox](../docker-for-mac/docker-toolbox.md)
and want to talk to two different Docker Engines.
In both scenarios, you have the option to switch the environment for the current
In such scenarios, you have the option to switch the environment for the current
shell to talk to different Docker engines.
1. Run `env|grep DOCKER` to check whether DOCKER environment variables are set.
@ -344,10 +306,6 @@ shell to talk to different Docker engines.
If you are running Docker Desktop for Mac, you can run Docker commands to talk
to the Docker Engine installed with that app.
Since [Docker Desktop for Windows is incompatible with Toolbox](../docker-for-windows/install.md#what-to-know-before-you-install),
this scenario isn't applicable because Docker Desktop for Windows uses the Docker
Engine and Docker Machine that come with it.
## Start local machines on startup
To ensure that the Docker client is automatically configured at the start of

View File

@ -52,7 +52,7 @@ Docker Machine has these two broad use cases.
![Docker Machine on Mac and Windows](img/machine-mac-win.png){: .white-bg}
If you work primarily on an older Mac or Windows laptop or desktop that doesn't meet the requirements for the new [Docker Desktop for Mac](../docker-for-mac/index.md) and [Docker Desktop for Windows](../docker-for-windows/index.md) apps, then you need Docker Machine to run Docker Engine locally. Installing Docker Machine on a Mac or Windows box with the [Docker Toolbox](../toolbox/overview.md) installer provisions a local virtual machine with Docker Engine, gives you the ability to connect it, and run `docker` commands.
If you work primarily on an older Mac or Windows laptop or desktop that doesn't meet the requirements for the new [Docker Desktop for Mac](../docker-for-mac/index.md) and [Docker Desktop for Windows](../docker-for-windows/index.md) apps, then you need Docker Machine to run Docker Engine locally.
* **I want to provision Docker hosts on remote systems**

View File

@ -14,8 +14,6 @@ This is useful if you intend to run a registry server natively on macOS.
You can start a VM on macOS, and deploy your registry normally as a container using Docker inside that VM.
The simplest road to get there is traditionally to use the [docker Toolbox](https://www.docker.com/toolbox), or [docker-machine](../../machine/index.md), which usually relies on the [boot2docker](http://boot2docker.io/) ISO inside a VirtualBox VM.
### Solution
Using the method described here, you install and compile your own from the git repository and run it as an macOS agent.

View File

@ -1,17 +0,0 @@
---
advisory: toolbox
description: FAQs, troubleshooting, and tips index for Toolbox installs
identifier: toolbox_overview_faqs
keywords: docker, documentation, about, technology, kitematic, gui, toolbox
title: FAQs and troubleshooting
---
This is a frequently asked questions (FAQs) and troubleshooting guide for non-technical users who are learning about Docker, starting with [Docker Toolbox](https://www.docker.com/products/docker-toolbox).
By following the getting started, you'll learn fundamental Docker features by performing some simple tasks.
In the process of installing and setting up Docker, you might run into problems or have questions about configuration and setup.
* _**Looking for help with error messages?**_ Go to [Troubleshooting](troubleshoot.md).
&nbsp;

View File

@ -1,158 +0,0 @@
---
advisory: toolbox
description: Troubleshooting connectivity and certificate issues
keywords: beginner, getting started, FAQs, troubleshooting, Docker
title: Troubleshooting
---
Typically, the QuickStart works out-of-the-box, but some scenarios can cause problems.
## Example errors
You might get errors when attempting to connect to a machine (such as with `docker-machine env default`) or pull an image from Docker Hub (as with `docker run hello-world`).
The errors you get might be specific to certificates, like this:
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: i/o timeout
Others explicitly suggest regenerating certificates:
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": x509: certificate is valid for 192.168.99.101, not 192.168.99.100
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
Or, indicate a network timeout, like this:
bash-3.2$ docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy.
bash-3.2$
## Solutions
Here are some quick solutions to help get back on track. These examples assume the Docker host is a machine called `default`.
#### Regenerate certificates
Some errors explicitly tell you to regenerate certificates. You might also try this for other errors that are certificate and/or connectivity related.
$ docker-machine regenerate-certs default
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
#### Restart the Docker host
$ docker-machine restart default
After the machine starts, set the environment variables for the command window.
$ eval $(docker-machine env default)
Run `docker-machine ls` to verify that the machine is running and that this command window is configured to talk to it, as indicated by an asterisk for the active machine (__*__).
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.101:2376 v1.10.1
#### Stop the machine, remove it, and create a new one.
$ docker-machine stop default
Stopping "default"...
Machine "default" was stopped.
$ docker-machine rm default
About to remove default
Are you sure? (y/n): y
Successfully removed default
You can use the `docker-machine create` command with the `virtualbox` driver to create a new machine called `default` (or any name you want for the machine).
$ docker-machine create --driver virtualbox default
Running pre-create checks...
(default) Default Boot2Docker ISO is out-of-date, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v1.10.1
(default) Downloading
...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env default
Set the environment variables for the command window.
$ eval $(docker-machine env default)
Run `docker-machine ls` to verify that the new machine is running and that this command window is configured to talk to it, as indicated by an asterisk for the active machine (__*__).
<a name="machine-http-proxy-solutions"></a>
## HTTP proxies and connectivity errors
A special brand of connectivity errors can be caused by HTTP proxy. If you install Docker Toolbox on a system using a virtual private network (VPN) that uses an HTTP proxy (such as a corporate network), you might encounter errors when the client attempts to connect to the server.
Here are examples of this type of error:
$ docker run hello-world
An error occurred trying to connect: Post https://192.168.99.100:2376/v1.20/containers/create: Forbidden
$ docker run ubuntu echo "hi"
An error occurred trying to connect: Post https://192.168.99.100:2376/v1.20/containers/create: Forbidden
### Configure HTTP proxy settings on Docker machines
When Toolbox creates virtual machines (VMs) it runs `start.sh`, where it gets values for `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`, and passes them as `create` options to create the `default machine`.
You can reconfigure HTTP proxy settings for private networks on already-created Docker machines, such as the `default` machine, then change the configuration when you are using the same system on a different network.
Alternatively, you can modify proxy settings on your machine(s) manually through the configuration file at `/var/lib/boot2docker/profile` inside the VM, or configure proxy settings as a part of a `docker-machine create` command.
Both solutions are described below.
#### Update /var/lib/boot2docker/profile on the Docker machine
One way to solve this problem is to update the file `/var/lib/boot2docker/profile` on an existing machine to specify the proxy settings you want.
This file lives on the VM itself, so you need to `ssh` into the machine, then edit and save the file there.
You can add your machine addresses as values for a `NO_PROXY` setting, and also specify proxy servers that you know about and you want to use. Typically setting your Docker machine URLs to `NO_PROXY` solves this type of connectivity problem, so that example is shown here.
1. Use `ssh` to log in to the virtual machine. This example logs in to the
`default` machine.
$ docker-machine ssh default
docker@default:~$ sudo vi /var/lib/boot2docker/profile
2. Add a `NO_PROXY` setting to the end of the file similar to the example below.
# replace with your office's proxy environment
export "HTTP_PROXY=http://PROXY:PORT"
export "HTTPS_PROXY=http://PROXY:PORT"
# you can add more no_proxy with your environment.
export "NO_PROXY=192.168.99.*,*.local,169.254/16,*.example.com,192.168.59.*"
3. Restart Docker.
After you modify the `profile` on your VM, restart Docker and log out of the machine.
docker@default:~$ sudo /etc/init.d/docker restart
docker@default:~$ exit
Re-try Docker commands. Both Docker and Kitematic should run properly now.
When you move to a different network (for example, leave the office's corporate network and return home), remove or comment out these proxy settings in `/var/lib/boot2docker/profile` and restart Docker.
#### Create machines manually using --engine env to specify proxy settings
Rather than reconfigure automatically-created machines, you can delete them and create your `default` machine and others manually with the `docker-machine create` command, using the `--engine env` flag to specify the proxy settings you want.
Here is an example of creating a `default` machine with proxies set to `http://example.com:8080` and `https://example.com:8080`, and a `N0_PROXY` setting for the server `example2.com`.
docker-machine create -d virtualbox \
--engine-env HTTP_PROXY=http://example.com:8080 \
--engine-env HTTPS_PROXY=https://example.com:8080 \
--engine-env NO_PROXY=example2.com \
default
To learn more about using `docker-machine create`, see the [create](../../machine/reference/create.md) command in the [Docker Machine](../../machine/overview.md) reference.
&nbsp;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@ -1,15 +0,0 @@
---
advisory: toolbox
description: Documentation that provides an overview of Docker Toolbox and installation instructions
keywords: docker, documentation, about, technology, docker toolbox, gui
title: Docker Toolbox
---
**Note** while Docker Toolbox is now considered Legacy, Kitematic is still supported and available as a separate download from [https://github.com/docker/kitematic](https://github.com/docker/kitematic)
Available for both Windows and Mac, Docker Toolbox installs the Docker Client, Machine, Compose, and Kitematic.
**Learn about Docker Toolbox**. See [Docker Toolbox Overview](overview.md) for a quick tour of Toolbox, and
how to get started with Docker Machine, Kitematic, and Docker Compose.
**Ready to download Toolbox?** See [Install Docker Toolbox on macOS](toolbox_install_mac.md) or [Install Docker Toolbox on Windows](toolbox_install_windows.md) for download and install instructions.

View File

@ -1,49 +0,0 @@
---
advisory: toolbox
description: Documentation that provides an overview of Toolbox
keywords: docker, documentation, about, technology, kitematic, gui, toolbox
title: Docker Toolbox overview
---
Docker Toolbox is an installer for quick setup and launch of a Docker environment on older Mac and Windows systems that do not meet the requirements of the new [Docker Desktop for Mac](../docker-for-mac/index.md) and [Docker Desktop for Windows](../docker-for-windows/index.md) apps.
![Toolbox installer](images/toolbox-installer.png)
## What's in the box
Toolbox includes these Docker tools:
* Docker Machine for running `docker-machine` commands
* Docker Engine for running the `docker` commands
* Docker Compose for running the `docker-compose` commands
* Kitematic, the Docker GUI
* a shell preconfigured for a Docker command-line environment
* Oracle VirtualBox
You can find various versions of the tools on [Toolbox Releases](https://github.com/docker/toolbox/releases) or run them with the `--version` flag in the terminal, for example, `docker-compose --version`.
## Ready to get started?
Choose the install instructions for your platform, and follow the steps:
- [Install Docker Toolbox for macOS](toolbox_install_mac.md)
- [Install Docker Toolbox for Windows](toolbox_install_windows.md)
## Next steps
* Try the [Get started](../get-started/index.md) tutorial.
* Dig in deeper with [more tutorials and examples](../engine/tutorials/index.md) on building images, running containers, networking, managing data, and storing images on Docker Hub.
* [Learn about Kitematic](../kitematic/userguide.md)
* [Learn about Docker Machine](../machine/overview.md)
* [Learn about Docker Compose](../compose/index.md)

View File

@ -1,319 +0,0 @@
---
advisory: toolbox
description: How to install Toolbox on Mac
keywords: docker, documentation, install, toolbox, mac
title: Install Docker Toolbox on macOS
---
Docker Toolbox provides a way to use Docker on older Macs
that do not meet
minimal system requirements for [Docker Desktop for Mac](../docker-for-mac/index.md).
## What you get and how it works
Docker Toolbox includes the following Docker tools:
* Docker CLI client for running Docker Engine to create images and containers
* Docker Machine so you can run Docker Engine commands from macOS terminals
* Docker Compose for running the `docker-compose` command
* Kitematic, the Docker GUI
* the Docker QuickStart shell preconfigured for a Docker command-line environment
* Oracle VM VirtualBox
Because the Docker Engine daemon uses Linux-specific
kernel features, you can't run Docker Engine natively on
macOS with Docker Toolbox. Instead, you must use the
Docker Machine command, `docker-machine`, to create and
attach to a small Linux VM on your machine. This VM hosts
Docker Engine for you on your Mac.
>**Tip**: One of the advantages of the newer
[Docker Desktop for Mac](../docker-for-mac/index.md) solution is that
it uses native virtualization and does not require
VirtualBox to run Docker.
## Step 1: Check your version
Your Mac must be running macOS 10.8 "Mountain Lion" or newer to run Docker
software. To find out what version of the OS you have:
1. Choose **About this Mac** from the Apple menu.
The version number appears directly below the words `macOS`.
2. If you have the correct version, go to the next step.
If you aren't using a supported version, you could consider upgrading your
operating system.
If you have macOS 10.14 Mojave or newer, consider using [Docker Desktop for
Mac](/docker-for-mac/) instead. It runs natively on the Mac, so there is no
need for a pre-configured Docker QuickStart shell. It uses the native macOS
Hypervisor framework for virtualization, instead of Oracle VirutalBox. Full
install prerequisites are provided in the Docker Desktop for Mac topic in [Docker
Desktop for Mac](/docker-for-mac/#what-to-know-before-you-install).
## Step 2: Install Docker Toolbox
> **Note**: Docker are no longer maintaining the download.docker.com url for
> Docker Toolbox, therefore an unsigned warning (verified publisher dialog) is
> displayed during the installation process.
1. To download the latest version of Docker Toolbox, go to [Toolbox
Releases](https://github.com/docker/toolbox/releases) and download the
latest `.pkg` file.
2. Install Docker Toolbox by double-clicking the package or by right-clicking
and choosing "Open" from the pop-up menu.
The installer launches an introductory dialog, followed by an overview of what's installed.
![Install Docker Toolbox](images/mac-welcome-page.png)
3. Press **Continue** to install the toolbox.
The installer presents you with options to customize the standard
installation.
![Standard install](images/mac-page-two.png)
By default, the standard Docker Toolbox installation:
* installs binaries for the Docker tools in `/usr/local/bin`
* makes these binaries available to all users
* updates any existing Virtual Box installation
For now, don't change any of the defaults.
4. Press **Install** to perform the standard installation.
The system prompts you for your password.
![Password prompt](images/mac-password-prompt.png)
5. Provide your password to continue with the installation.
When it completes, the installer provides you with some
shortcuts. You can ignore this for now and click **Continue**.
![Quickstart](images/mac-page-quickstart.png)
Then click **Close** to finish the installer.
![All finished](images/mac-page-finished.png)
## Step 3: Verify your installation
To run a Docker container, you:
* create a new (or start an existing) Docker Engine host running
* switch your environment to your new VM
* use the `docker` client to create, load, and manage containers
Once you create a machine, you can reuse it as often as you like. Like any
Virtual Box VM, it maintains its configuration between uses.
1. Open the **Launchpad** and locate the Docker Quickstart Terminal icon.
![Launchpad](images/applications_folder.png)
2. Click the icon to launch a Docker Quickstart Terminal window.
The terminal does a number of things to set up Docker Quickstart Terminal for you.
```
Last login: Sat Jul 11 20:09:45 on ttys002
bash '/Applications/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
Get http:///var/run/docker.sock/v1.19/images/json?all=1&filters=%7B%22dangling%22%3A%5B%22true%22%5D%7D: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
Get http:///var/run/docker.sock/v1.19/images/json?all=1: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
-bash: lolcat: command not found
mary at meepers in ~
$ bash '/Applications/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
Creating Machine dev...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
To see how to connect Docker to this machine, run: docker-machine env dev
Starting machine dev...
Setting environment variables for machine dev...
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
The Docker Quick Start Terminal is configured to use Docker with the "default" VM.
```
3. Click your mouse in the terminal window to make it active.
If you aren't familiar with a terminal window, here are some quick tips.
![Terminal](images/terminal.png)
The prompt is traditionally a `$` dollar sign. You type commands into the
*command line* which is the area after the prompt. Your cursor is indicated
by a highlighted area or a `|` that appears in the command line. After
typing a command, always press RETURN.
4. Type the `docker run hello-world` command and press RETURN.
The command does some work for you, if everything runs well, the command's
output looks like this:
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
535020c3e8ad: Pull complete
af340544ed62: Pull complete
Digest: sha256:a68868bfe696c00866942e8f5ca39e3e31b79c1e50feaee4ce5e28df2f051d5c
Status: Downloaded newer image for hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker Engine CLI client contacted the Docker Engine daemon.
2. The Docker Engine daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker Engine daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker Engine daemon streamed that output to the Docker Engine CLI client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker Hub account:
https://hub.docker.com
For more examples and ideas, visit:
https://docs.docker.com/userguide/
## Optional: Add shared directories
By default, Toolbox only has access to the `/Users` directory and mounts it into
the VMs at `/Users`. If your project lives elsewhere or needs access to other
directories on the host filesystem, you can add them.
### Use the VirtualBox GUI
You can configure shared folders in the VirtualBox UI.
1. Open the VirtualBox UI.
2. Click the **Settings** gear, then go to **Shared Folders**.
3. Select any existing listing under **Machine Folders**, then
click the **+** icon.
* Choose the **Folder Path** on the host, enter the **Folder Name**
for within the VM (or take the default, which is the same name
as on the host), and configure any additional options you need.
* Choose **Auto-mount** if you want the folder to automatically
be mounted into the VM, and choose **Make Permanent** for it
to be considered a permanently shared folder.
4. Click **OK** to add the new folder to the Shared Folders list.
5. Click **OK** again to save your changes and exit the Settings dialog.
### Use the command line
You can configure shared folders using a command like the following:
```bash
$ mount -t vboxsf -o uid=1000,gid=50 your-other-share-name /some/mount/location
```
This command mounts `/some/mount/location` into the VM at `/your-other-share-hame`,
owned by UID 1000 and GID 50.
> **Note**: The autommount and permanent mount options are not supported using
> the command line.
## How to uninstall Toolbox
Removing Toolbox involves removing all the Docker components it includes.
A full uninstall also includes removing the local and remote machines
you created with Docker Machine. In some cases, you might want to keep
machines created with Docker Machine.
For example, if you plan to re-install Docker Machine as a part of
Docker Desktop for Mac you can continue to manage those machines through
Docker. Or, if you have remote machines on a cloud provider and you
plan to manage them using the provider, you wouldn't want to remove
them. So the step to remove machines is described here as optional.
To uninstall Toolbox on a Mac, do the following:
1. List your machines.
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev * virtualbox Running tcp://192.168.99.100:2376
my-docker-machine virtualbox Stopped
default virtualbox Stopped
```
2. Optionally, remove each machine. For example:
```
$ docker-machine rm my-docker-machine
Successfully removed my-docker-machine
```
This step is optional because if you plan
to re-install Docker Machine as a part
of [Docker Desktop for Mac](../docker-for-mac/index.md), you can import and
continue to manage those machines through Docker.
3. In your "Applications" folder, remove the "Docker" directory,
which contains "Docker Quickstart Terminal" and "Kitematic".
4. Run the following in a command shell to fully remove Kitematic:
```
$ rm -fr ~/Library/Application\ Support/Kitematic
```
5. Remove the `docker`, `docker-compose`, and `docker-machine` commands from
the `/usr/local/bin` folder. Docker Desktop for Mac and Brew may also have
installed them; in case of doubt leave them, or reinstall them via Brew, or
rerun Docker Desktop for Mac (no need to reinstall it).
```
$ rm -f /usr/local/bin/docker
$ rm -f /usr/local/bin/docker-compose
$ rm -f /usr/local/bin/docker-machine
```
6. Optionally, remove the `~/.docker/machine` directory.
This directory stores some configuration and/or state, such as information
about created machines and certificates.
7. Uninstall Oracle VirtualBox, which is installed as a part of the
Toolbox install.
## Next steps
* Try the [Get started](../get-started/index.md) tutorial.
* Dig in deeper with [more tutorials and examples](../engine/tutorials/index.md) on building images, running containers, networking, managing data, and storing images on Docker Hub.
* [Learn about Kitematic](../kitematic/userguide.md)
* [Learn about Docker Machine](../machine/overview.md)
* [Learn about Docker Compose](../compose/index.md)

View File

@ -1,284 +0,0 @@
---
advisory: toolbox
description: How to install Toolbox on Mac
keywords: docker, documentation, install, toolbox, win
title: Install Docker Toolbox on Windows
---
Docker Toolbox provides a way to use Docker on Windows systems that do not meet
minimal system requirements for the [Docker Desktop for Windows](../docker-for-windows/index.md)
app.
## What you get and how it works
Docker Toolbox includes the following Docker tools:
* Docker CLI client for running Docker Engine to create images and containers
* Docker Machine so you can run Docker Engine commands from Windows terminals
* Docker Compose for running the `docker-compose` command
* Kitematic, the Docker GUI
* the Docker QuickStart shell preconfigured for a Docker command-line environment
* Oracle VM VirtualBox
Because the Docker Engine daemon uses Linux-specific
kernel features, you can't run Docker Engine natively
on Windows. Instead, you must use the Docker Machine
command, `docker-machine`, to create and attach to a
small Linux VM on your machine. This VM hosts Docker Engine
for you on your Windows system.
>**Tip**: One of the advantages of the newer
[Docker Desktop for Windows](../docker-for-windows/index.md) solution is that
it uses native virtualization and does not require
VirtualBox to run Docker.
## Step 1: Check your version
To run Docker, your machine must have a 64-bit operating system running Windows 7 or higher. Additionally, you must make sure that virtualization is enabled on your machine.
To verify your machine meets these requirements, do the following:
1. Right click the windows message and choose **System**.
If you aren't using a supported version, you could consider upgrading your
operating system.
If you have a recent version of Windows,
consider using [Docker Desktop for Windows](/docker-for-windows) instead. It runs
natively on the Windows, so there is no need for a pre-configured Docker
QuickStart shell. It also uses Hyper-V for virtualization, so the
instructions below for checking virtualization will be out of date for newer
Windows systems. Full install prerequisites are provided in the Docker Desktop for
Windows topic in [What to know before you
install](/docker-for-windows/#what-to-know-before-you-install).
2. Make sure your Windows system supports Hardware Virtualization Technology and that virtualization is enabled.
<br>
**For Windows 10**
Run [Speccy](https://www.piriform.com/speccy){: target="_blank" rel="noopener" class="_"}, and look at the CPU information.
<br>
**For Windows 8 or 8.1**
Choose **Start > Task Manager** and navigate to the **Performance** tab.
Under **CPU** you should see the following:
![Release page](images/virtualization.png)
If virtualization is not enabled on your system, follow the manufacturer's instructions for enabling it.
<br>
**For Windows 7**
Run a tool like the [Microsoft® Hardware-Assisted Virtualization Detection Tool](https://www.microsoft.com/en-us/download/details.aspx?id=592){: target="_blank" rel="noopener" class="_"} or [Speccy](https://www.piriform.com/speccy){: target="_blank" rel="noopener" class="_"}, and follow the on-screen instructions.
<br><br>
3. Verify your Windows OS is 64-bit (x64)
How you do this verification depends on your Windows version.
For details, see the Windows article [How to determine whether
a computer is running a 32-bit version or 64-bit version of the
Windows operating system](https://support.microsoft.com/en-us/kb/827218).
## Step 2: Install Docker Toolbox
In this section, you install the Docker Toolbox software and several "helper" applications. The installation adds the following software to your machine:
* Docker Client for Windows
* Docker Toolbox management tool and ISO
* Oracle VM VirtualBox
* Git MSYS-git UNIX tools
If you have a previous version of VirtualBox installed, do not reinstall it with the Docker Toolbox installer. When prompted, uncheck it.
If you have Virtual Box running, you must shut it down before running the
installer.
> **Note**: Docker no longer maintains the download.docker.com url for
> Docker Toolbox, therefore an unsigned warning (verified publisher dialog) is
> displayed during the installation process.
1. To download the latest version of Docker Toolbox, go to [Toolbox
Releases](https://github.com/docker/toolbox/releases) and download the
latest `.exe` file.
2. Install Docker Toolbox by double-clicking the installer.
The installer launches the "Setup - Docker Toolbox" dialog.
If Windows security dialog prompts you to allow the program to make a
change, choose **Yes**. The system displays the **Setup - Docker Toolbox for
Windows** wizard.
![Release page](images/installer_open.png)
3. Press **Next** to accept all the defaults and then **Install**.
Accept all the installer defaults. The installer takes a few minutes to install all the components:
4. When notified by Windows Security the installer will make changes, make sure you allow the installer to make the necessary changes.
When it completes, the installer reports it was successful:
![Success](images/finish.png)
5. Uncheck "View Shortcuts in File Explorer" and press **Finish**.
## Step 3: Verify your installation
The installer adds Docker Toolbox, VirtualBox, and Kitematic to your
**Applications** folder. In this step, you start Docker Toolbox and run a simple
Docker command.
1. On your Desktop, find the Docker QuickStart Terminal icon.
![Desktop](images/icon-set.png)
2. Click the Docker QuickStart icon to launch a pre-configured Docker Toolbox terminal.
If the system displays a **User Account Control** prompt to allow VirtualBox to make changes to your computer. Choose **Yes**.
The terminal does several things to set up Docker Toolbox for you. When it is done, the terminal displays the `$` prompt.
![Desktop](images/b2d_shell.png)
The terminal runs a special `bash` environment instead of the standard Windows command prompt. The `bash` environment is required by Docker.
3. Make the terminal active by clicking your mouse next to the `$` prompt.
If you aren't familiar with a terminal window, here are some quick tips.
![/Terminal shell](images/b2d_shell.png)
The prompt is traditionally a `$` dollar sign. You type commands into the
*command line* which is the area after the prompt. Your cursor is indicated
by a highlighted area or a `|` that appears in the command line. After
typing a command, always press RETURN.
4. Type the `docker run hello-world` command and press RETURN.
The command does some work for you, if everything runs well, the command's
output looks like this:
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository hello-world
91c95931e552: Download complete
a8219747be10: Download complete
Status: Downloaded newer image for hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker Engine CLI client contacted the Docker Engine daemon.
2. The Docker Engine daemon pulled the "hello-world" image from the Docker Hub.
(Assuming it was not already locally available.)
3. The Docker Engine daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker Engine daemon streamed that output to the Docker Engine CLI client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
For more examples and ideas, visit:
https://docs.docker.com/userguide/
## Looking for troubleshooting help?
Typically, the above steps work out-of-the-box, but some scenarios can cause problems. If your `docker run hello-world` didn't work and resulted in errors, check out [Troubleshooting](faqs/troubleshoot.md) for quick fixes to common problems.
A Windows specific problem you might encounter relates to the NDIS6 host network filter driver, which is known to cause issues on some Windows
versions. For Windows Vista systems and newer, VirtualBox installs NDIS6 driver by default. Issues can range from system slowdowns to networking problems for the virtual machine (VM). If you notice problems, **re-run the Docker Toolbox installer**, and select the option to _**install VirtualBox with the NDIS5 driver**_.
## Optional: Add shared directories
By default, Toolbox only has access to the `C:\Users` directory and mounts it into
the VMs at `/c/Users`.
> **Note**: Within the VM path, `c` is lowercase and the `Users` is capitalized.
If your project lives elsewhere or needs access to other
directories on the host filesystem, you can add them, using the VirtualBox UI.
1. Open the VirtualBox UI.
2. Click the **Settings** gear, then go to **Shared Folders**.
3. Select any existing listing under **Machine Folders**, then
click the **+** icon.
* Choose the **Folder Path** on the host, enter the **Folder Name**
for within the VM (or take the default, which is the same name
as on the host), and configure any additional options you need.
* Choose **Auto-mount** if you want the folder to automatically
be mounted into the VM, and choose **Make Permanent** for it
to be considered a permanently shared folder.
4. Click **OK** to add the new folder to the Shared Folders list.
5. Click **OK** again to save your changes and exit the Settings dialog.
## How to uninstall Toolbox
Removing Toolbox involves removing all the Docker components it includes.
A full uninstall also includes removing the local and remote machines you created with Docker Machine. In some cases, you might want to keep machines created with Docker Machine.
For example, if you plan to re-install Docker Machine as a part of Docker Desktop for Windows you can continue to manage those machines through Docker. Or, if you have remote machines on a cloud provider and you plan to manage them using the provider, you wouldn't want to remove them. So the step to remove machines is described here as optional.
To uninstall Toolbox on Windows, do the following:
1. List your machines.
```
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM
dev * virtualbox Running tcp://192.168.99.100:2376
my-docker-machine virtualbox Stopped
default virtualbox Stopped
```
2. Optionally, remove each machine. For example:
```
$ docker-machine rm my-docker-machine
Successfully removed my-docker-machine
```
This step is optional because if you plan to re-install Docker Machine as a
part of [Docker Desktop for Windows](../docker-for-windows/index.md), you can
import and continue to manage those machines through Docker.
3. Uninstall Docker Toolbox using Window's standard process for uninstalling programs through the control panel (programs and features).
>**Note**: This process does not remove the `docker-install.exe` file. You must delete that file yourself.
5. Optionally, remove the
`C:\Users\<your-user>\.docker` directory.
If you want to remove Docker entirely, you
can verify that the uninstall removed
the `.docker` directory under your user path.
If it is still there, remove it manually.
This directory stores some Docker
program configuration and state, such as
information about created machines and
certificates. You usually don't need to remove this directory.
6. Uninstall Oracle VirtualBox, which is
installed as a part of the Toolbox install.
## Next steps
* Try out the [Get started](../get-started/index.md) tutorial.
* Dig in deeper with [more tutorials and examples](../engine/tutorials/index.md) on building images, running containers, networking, managing data, and storing images on Docker Hub.
* [Learn about Kitematic](../kitematic/userguide.md)
* [Learn about Docker Machine](../machine/overview.md)
* [Learn about Docker Compose](../compose/index.md)