Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is Docker Private Mirror Library and Ali Cloud object Storage OSS

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces what Docker private mirror library and Ali Cloud object storage OSS is, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Docker Private Mirror Library

Docker Private Mirror Library and Ali Cloud object Storage OSS

Image management is the core of Docker. In order to share images within an enterprise or organization, Docker has officially established an open source project, docker-registry, on Github, which is specially used to build a private image library for Docker.

Quickly launch docker-registry that supports Ali Cloud object Storage OSS

You can download and install docker-registry from https://github.com/docker/docker-registry and install OSS driver through pip:

Pip install docker-registry-driver-alioss

Run docker registry

Docker run-e OSS_BUCKET=-e STORAGE_PATH=/docker/-e OSS_KEY=-e OSS_SECRET=-p 5000RV 5000-d chrisjin/registry:ali_oss

Configure config.yml:

````local: & local

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report