mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-10 20:04:36 +00:00
Restruct
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
## Docker Hub
|
||||
## 6.1 Docker Hub
|
||||
|
||||
### 什么是 Docker Hub
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## 私有仓库
|
||||
## 6.2 私有仓库
|
||||
|
||||
有时候使用 Docker Hub 这样的公共仓库可能不方便,用户可以创建一个本地仓库供私人使用。
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## 私有仓库高级配置
|
||||
## 6.3 私有仓库高级配置
|
||||
|
||||
上一节我们搭建了一个具有基础功能的私有仓库,本小节我们来使用 `Docker Compose` 搭建一个拥有权限认证、TLS 的私有仓库。
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Nexus 3
|
||||
## 6.4 Nexus 3
|
||||
|
||||
使用 Docker 官方的 Registry 创建的仓库面临一些维护问题。比如某些镜像删除以后空间默认是不会回收的,需要一些命令去回收空间然后重启 Registry。在企业中把内部的一些工具包放入 `Nexus` 中是比较常见的做法,最新版本 `Nexus3.x` 全面支持 Docker 的私有镜像。所以使用 [`Nexus3.x`](https://www.sonatype.com/product/repository-oss-download) 一个软件来管理 `Docker` , `Maven` , `Yum` , `PyPI` 等是一个明智的选择。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user