Docker ~ Use of save and load, dockersaveload

Source: Internet
Author: User

Docker ~ Use of save and load, dockersaveload

Back to directory

If there is no private repository, we can use the save and load methods when placing the local image on another server for execution. The former is used to save the image as a tar file, the background restores an image from a tar file, which is very convenient for our developers! The following describes how to implement the above process.

Docker images check the local image

Docker save 1316871b180b-o/root/dockerfile/loggermanager1.0.tar

Save the above loggermanager image as a tar file. Note that if the directory does not exist, you need to create it in advance. docker will not create the directory for you.

Use the xtfp tool to download and copy the file to the corresponding server.

Load your tar file on the external server and restore it to the docker list.

Then, use docker images to view the new image you have loaded.

Small function, big purpose!

Back to directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.