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

NodeJs high memory usage troubleshooting actual combat record

Preface This is an investigation caused by the ex...

Windows Service 2016 Datacenter\Stand\Embedded Activation Method (2021)

Run cmd with administrator privileges slmgr /ipk ...

Global call implementation of Vue2.x Picker on mobile terminal

Table of contents What is the Picker component Pr...

Summary of changes in the use of axios in vue3 study notes

Table of contents 1. Basic use of axio 2. How to ...

Vue Element-ui form validation rule implementation

Table of contents 1. Introduction 2. Entry mode o...

HTML table tag tutorial (35): cross-column attribute COLSPAN

In a complex table structure, some cells span mul...

Summary of common tool examples in MySQL (recommended)

Preface This article mainly introduces the releva...

Detailed explanation of invisible indexes in MySQL 8.0

Word MySQL 8.0 has been released for four years s...

The most convenient way to build a Zookeeper server in history (recommended)

What is ZooKeeper ZooKeeper is a top-level projec...

Cross-origin image resource permissions (CORS enabled image)

The HTML specification document introduces the cr...

Vue detailed explanation of mixins usage

Table of contents Preface 1. What are Mixins? 2. ...