In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to generate and publish Docker images, I hope you have something to gain after reading this article, let's discuss it together!
Generate a release image
First, type the command exit to exit the Docker container environment.
Then, create a new Docker image:
bash apollo_docker.sh gen
If the following error occurs, you need to check whether the folder ${HOME}/.cache/apollo_release/apollo/exists. The image file is stored in this folder by default. If the folder does not exist, you need to create a new one.
Release directory does not exist!
The above command will generate a new Docker image in the release folder. The release mirror is named release-yymmdd_hhmm. Also, recently built mirror files are marked release-latest.
Publishing docker images
By default, images are published to Docker image datacenters on Apollo auto/apollo if the following instructions are executed:
bash apollo_docker.sh push
Users need to publish the image to their Docker image data center, otherwise the following error will appear:
denied: requested access to resource is denied.
The following instructions can be executed to solve this problem:
docker tag apolloauto/apollo:TAG_NAME YOUR_REPO:YOUR_TAGNAME
It is now possible to log in and access personal repository data by consulting the methods provided on the site.
Then publish the Docker image data center mirrored to the personal repository. Obtain additional supporting information.
After reading this article, I believe you have a certain understanding of "how to generate and publish Docker images". If you want to know more about this knowledge, please pay attention to the industry information channel. Thank you for reading!
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.