In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "what is the method of saving and loading Apollo local Docker image". In the daily operation, I believe that many people have doubts about the method of saving and loading local Apollo Docker image. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the question of "what is the method of saving and loading Apollo local Docker image?" Next, please follow the editor to study!
Inside Image is a layer of file system called Union FS (federated file system). A federated file system where several layers of directories can be mounted together to form a virtual file system. The directory structure of a virtual file system is like the directory structure of a normal Linux. Docker provides a virtual environment of Linux through these files plus the kernel of the host. Each layer of the file system is called a layer Layer, and the federated file system can set three permissions on each layer of the file system, read-only (Readonly), read-write (Readwrite), and write-out (Writeout-able), but each layer of the file system in the Docker image is read-only.
The method of saving local Docker image
First, make sure that the Docker image you currently need to save is active (not closed), and save it outside the Docker using the following command:
"pause the operation of the current Docker image when viewing the current active Docker image2 docker ps3# save local Docker image4#-p save" a954f492dab4 means Docker container id6# registry.docker-cn.com/apolloauto/apollo means repository (or image) "davidhopper_dev means tag, you can name 8 docker commit-p a954f492dab4 registry.docker-cn.com/apolloauto/apollo:davidhopper_dev to load the local Docker image at will.
Load the local Docker image saved in step 1 using the following command:
"- C" means to use the domestic server "- l-t davidhopper_dev" to pull 3bash docker/scripts/dev_start.sh-C-l-t davidhopper_dev based on the Docker image labeled "davidhopper_dev" locally.
A screenshot of the entire operation is shown below:
At this point, the study on "what is the method of saving and loading Apollo local Docker image" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.