docs/desktop
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
..
enterprise Remove Desktop Enterprise docs 2020-11-17 13:09:15 +00:00
images Add docs for Vuln scanning and troubleshoot updates (#11677) 2020-11-02 16:29:14 +00:00
backup-and-restore.md Rewrite "save and restore data" section 2021-03-09 12:23:32 +01:00
dashboard.md Add note on opening default terminal 2021-03-01 17:13:00 +00:00
faqs.md Add combined faqs for Mac and Windows (#12153) 2021-01-22 16:17:53 +00:00
index.md Update docs for Desktop 3.0.0 release (#11859) 2020-12-10 15:01:02 +00:00
opensource.md Add Docker Desktop Overview topic (#10718) 2020-05-01 08:43:25 +01:00