The `hide_from_sitemap` metadata variable was a custom thing we implemented to add a "noindex" meta-header to pages and to exclude a page from the search auto-complete. However, pages with that option set would still be included in sitemap.xml, resulting in search engines to visit those pages (only to discover they should not index them). This patch replaces the custom `hide_from_sitemap` value for `sitemap: false`, which is a metadata variable that's defined by the "jekyll-sitemap" plugin we use to generate the sitemap.xml; https://github.com/jekyll/jekyll-sitemap/blob/v1.4.0/README.md#exclusions Setting this variable will now: - add a "noindex" metadata header to the page - exclude the page from the sitemap.xml. - exclude the page from /js/metadata.json (used for search autocomplete) Also fixed an issue in the metadata.json where the `notoc` metadata was used to exclude pages, however that variable is meant to disable the in-page TOC (right-hand side navigation with anchor links). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
6.6 KiB
description, keywords, sitemap, title, redirect_from, toc_min, toc_max
| description | keywords | sitemap | title | redirect_from | toc_min | toc_max | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Docker Desktop for Windows and Docker Toolbox | windows, alpha, beta, toolbox, docker-machine, tutorial | false | Docker Toolbox |
|
1 | 2 |
Deprecated
Docker Toolbox has been deprecated and is no longer in active development. Please use Docker Desktop instead. See Docker Desktop for Mac and Docker Desktop for Windows. {: .warning }
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.
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 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:
> 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 Windows, 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.
Uninstall Docker 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, 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:
-
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 -
Optionally, remove each machine. For example:
$ docker-machine rm my-docker-machine Successfully removed my-docker-machineThis step is optional because if you plan to re-install Docker Machine as a part of Docker Desktop for Mac, you can import and continue to manage those machines through Docker.
-
In your "Applications" folder, remove the "Docker" directory, which contains "Docker Quickstart Terminal" and "Kitematic".
-
Run the following in a command shell to fully remove Kitematic:
$ rm -fr ~/Library/Application\ Support/Kitematic -
Remove the
docker,docker-compose, anddocker-machinecommands from the/usr/local/binfolder. 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 -
Optionally, remove the
~/.docker/machinedirectory.This directory stores some configuration and/or state, such as information about created machines and certificates.
-
Uninstall Oracle VirtualBox, which is installed as a part of the Toolbox install.
Uninstall Docker Toolbox on Windows
To uninstall Toolbox on Windows:
-
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 -
Optionally, remove each machine. For example:
$ docker-machine rm my-docker-machine Successfully removed my-docker-machineThis step is optional because if you plan to re-install Docker Machine as a part of Docker Desktop for Windows, you can import and continue to manage those machines through Docker.
-
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.exefile. You must delete that file yourself. -
Optionally, remove the
C:\Users\<your-user>\.dockerdirectory.If you want to remove Docker entirely, you can verify that the uninstall removed the
.dockerdirectory 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. -
Uninstall Oracle VirtualBox, which is installed as a part of the Toolbox install.