docs/_data
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
..
buildx reference: update buildx reference docs for v0.4.2 2020-09-29 23:05:40 +02:00
cluster Move cluster reference docs, and generate from YAML 2019-06-20 14:27:17 +02:00
docker-app Adding experimental msg in App, Template, Assemble, Buildx CLI refs 2019-06-12 06:43:52 -07:00
docsarchive Reduce list of archives to supported enterprise versions 2020-02-25 17:15:22 +01:00
engine-cli Update engine reference for 20.10 release 2020-12-09 00:50:04 +01:00
registry-cli Add experimental note on Registry CLI reference pages (#1132) 2019-06-10 13:50:06 -07:00
staging-container Update Dockerfile 2017-07-18 17:26:42 -07:00
advisories.yaml _data: remove unused advisories 2020-10-23 16:18:49 +02:00
glossary.yaml Remove Docker Toolbox docs 2020-10-20 18:05:36 +01:00
redirects.csv Remove nonworking redirect additions 2018-12-20 20:28:23 -08:00
toc.yaml Rewrite "save and restore data" section 2021-03-09 12:23:32 +01:00