How to do the backup and restore of a docker

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

en:How to do the backup and restore of a docker he:איך לעשות הגיבוי ושחזור של docker ro:Cum se face backup şi restaurare de un docker ru:Как сделать резервное копирование и восстановление Докер pl:Jak zrobić kopię zapasową i Przywróć okno dokowane ja:どのようにバックアップと港湾労働者の復元 ar:كيفية القيام بعملية النسخ الاحتياطي والاستعادة لعامل الميناء zh:如何备份和还原的码头 de:Wie Sie die Sicherung und Wiederherstellung von einem Docker nl:Hoe te doen van de back-up en terugzetten van een docker it:Come fare il backup e il ripristino di una finestra mobile pt:Como fazer o backup e a restauração de um estivador es:Cómo hacer el backup y restore de un docker fr:Comment on fait la sauvegarde et la restauration d’un docker

This article has been created by an automatic translation software. You can view the article source here.

Intrducton | _. _. How do the | _. _. nd the restoration o a docker | _. _. Procedure: _! _ | . CONTAINERS BACKUP | _. _. First of all, in order to: _! _ | r docker containers, we need to see the list of containers we want | _. _. It is the command | _. _. s - a docker.

After that, we will choose the containers we want | _. _. and then we | _. _. create the image | _. _. the snapshot | _. _. of the container. For this we use the command | _. _. | _. _. | _. _. p backup a ?

f

1container - | _. _. To see the image of Docker created it runs the following command | _. _. | _. _. Now we can: _! _ | r image of docker in for later use. To run the following command: _! _ | | _. _. o backupcontainer - | _. _. .tar container - | _. _. To check if the archive was generated or not, we can simply type the ls command in the directory where we saved archive. backup. . RESTORE CONTAINERS | _. _. for the restoration of these containers we will use the following command: _! _ | | _. _. i : container - | _. _. .tar | _. _. To verify that this image of docker has been loaded successfully, we use the command | _. _. | _. _. This article seem useful to you

Docker1.jpg

backup    ()  : docker commit 
  1. docker commit -p 44a373f83141 backup

Docker2.jpg

:
  1. docker images

Docker3.jpg


backup
:
  1. docker save -o ~/backupbackup

Docker4.jpg


2

:

docker load -i ~/backup.tar

: docker images


?

0



You are not allowed to post comments.