docs/docker-for-windows
Sebastiaan van Stijn 203a4ee74b
Rewrite "save and restore data" section
This started as a "fix some links", but reading the section, I found various
issues that could use some improvement. After that, I noticed that both the
Windows and Mac pages had the same content, so I moved this to a common page
instead.

Note that there's still additional information that should likely be included
(and perhaps a rewrite into "per topic" headings (containers, images, ...).

Things that are missing;

- backup/restore swarmkit configs
- backup/restore swarmkit secrets
- backup/restore CLI configuration, trust data etc.

What I did in this pull request:

- recommend pushing images to Docker Hub as the default approach to back up
  images (but kept `docker image save` as an alternative)
- recommend `docker container commit` to save containers to an image, as doing
  so preserves both the container's configuration _and_ filesystem changes.
  `docker container export` only preserves the filesystem, but all other
  configuration is lost, which makes it hard to restore a container from it.
  Using `docker container commit` (committing the container to an image) also
  allows to follow the same procedure to backup containers as for images
  (both allowing them to be pushed to a registry, or to a file).
- added some information about "wether or not" containers should be backed
  up, as it may not be needed to back up containers if all data is stored
  in volumes (best practice).
- added some warnings regarding "sensitive data" (environment variables),
  and links to making repositories private before pushing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-09 12:23:32 +01:00
..
images Update Desktop diagnostics info 2021-01-14 12:14:19 +00:00
Makefile Windows: remove unused images 2018-05-14 10:08:29 -07:00
docker-toolbox.md Replace "hide_from_sitemap" with "sitemap: false" 2020-10-21 15:09:11 +02:00
edge-release-notes.md D4W: fix broken link to networking section 2021-01-05 15:20:07 +01:00
index.md Document how to upgrade the kubernetes cluster (#12344) 2021-02-17 15:17:03 +00:00
install-windows-home.md Update install-windows-home.md 2021-01-29 17:43:51 +00:00
install.md Rewrite "save and restore data" section 2021-03-09 12:23:32 +01:00
kubernetes.md Update kubernetes.md 2019-01-11 13:42:17 -05:00
networking.md fix windows networking redirect 2021-01-15 16:37:06 +01:00
release-notes.md Update release date for 3.2.1 2021-03-05 11:25:35 +01:00
troubleshoot.md Fix broken links in Mac and Windows topics 2021-01-28 12:10:10 +00:00
wsl.md Change "WSL 2 integration" to "Docker-WSL integration" 2021-02-08 18:25:12 +00:00