This commit is contained in:
Allie Sadler 2022-06-14 13:30:43 +01:00 committed by GitHub
parent 1181024d1f
commit cb777edea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -20,8 +20,9 @@ computer, for example.
when pushing the resulting image to a registry. when pushing the resulting image to a registry.
Also note that filesystem changes in volume that are attached to the Also note that filesystem changes in volume that are attached to the
container are not included in the image, and must be backed up separately container are not included in the image, and must be backed up separately.
(see step 3 below).
If you used a [named volume](../storage/index.md#more-details-about-mount-types) to store container data, such as databases, refer to the [backup, restore, or migrate data volumes](../storage/volumes.md#backup-restore-or-migrate-data-volumes) page in the storage section.
2. Use [`docker push`](../engine/reference/commandline/push.md) to push any 2. Use [`docker push`](../engine/reference/commandline/push.md) to push any
images you have built locally and want to keep to the [Docker Hub registry](../docker-hub/index.md). images you have built locally and want to keep to the [Docker Hub registry](../docker-hub/index.md).
@ -32,8 +33,6 @@ computer, for example.
Alternatively, use [`docker image save -o images.tar image1 [image2 ...]`](../engine/reference/commandline/save.md) Alternatively, use [`docker image save -o images.tar image1 [image2 ...]`](../engine/reference/commandline/save.md)
to save any images you want to keep to a local tar file. to save any images you want to keep to a local tar file.
If you used a [named volume](../storage/index.md#more-details-about-mount-types) to store container data, such as databases, refer to the [backup, restore, or migrate data volumes](../storage/volumes.md#backup-restore-or-migrate-data-volumes) page in the storage section.
After backing up your data, you can uninstall the current version of Docker Desktop After backing up your data, you can uninstall the current version of Docker Desktop
and [install a different version](release-notes.md) or reset Docker Desktop to factory defaults. and [install a different version](release-notes.md) or reset Docker Desktop to factory defaults.