Docker image import, export, backup and migration operations

Docker image import, export, backup and migration operations

Export:

docker save -o centos.tar centos:latest #Export the centos:latest image as a centos.tar file

Import:

docker load -i centos.tar #Load centos.tar. The labels of the loaded image are the same as the labels of the original exported image.

Additional knowledge: Docker saves the image as a tar file

Save a single file as a tar file and load it locally

docker save ****.v1 > images.tar

docker load < images.tar

Save multiple files as a tar file and load it locally

docker save ** ** ** ** > images.tar

docker load < ksp_images_20191206.tar

The above operation of docker image import, export, backup and migration is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Docker image and container import and export operations practice
  • Docker image import and export code examples
  • Implementation of importing and exporting docker images
  • Docker image export, import and copy example analysis
  • How to import and export Docker images
  • How to export and import images between docker
  • Introduction to Docker image import and export process

<<:  What is dns-prefetch? Front-end optimization: DNS pre-resolution improves page speed

>>:  MySQL sorting principles and case analysis

Recommend

Solution to Element-ui upload file upload restriction

question Adding the type of uploaded file in acce...

Implementation steps of mysql master-slave replication

Table of contents mysql master-slave replication ...

Using Docker run options to override settings in the Dockerfile

Usually, we first define the Dockerfile file, and...

How InnoDB implements serialization isolation level

Serialization implementation InnoDB implements se...

How to prohibit vsftpd users from logging in through ssh

Preface vsftp is an easy-to-use and secure ftp se...

How to visualize sketched charts in Vue.js using RoughViz

introduce A chart is a graphical representation o...

Vue integrates Tencent TIM instant messaging

This article mainly introduces how to integrate T...

How to set the style of ordered and unordered list items in CSS

In an unordered list ul>li, the symbol of an u...

JS practical object-oriented snake game example

Table of contents think 1. Greedy Snake Effect Pi...

Detailed explanation of JavaScript primitive data type Symbol

Table of contents Introduction Description Naming...

Summary of the Differences between find() and filter() Methods in JavaScript

Table of contents Preface JavaScript find() Metho...

Manually implement js SMS verification code input box

Preface This article records a common SMS verific...

Detailed explanation of vue.js dynamic components

:is dynamic component Use v-bind:is="compone...