<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Dependency Proxy > 原文:[https://docs.gitlab.com/ee/user/packages/dependency_proxy/](https://docs.gitlab.com/ee/user/packages/dependency_proxy/) * [Supported dependency proxies](#supported-dependency-proxies) * [Using the Docker dependency proxy](#using-the-docker-dependency-proxy) * [Clearing the cache](#clearing-the-cache) * [Limitations](#limitations) # Dependency Proxy[](#dependency-proxy-premium-only "Permalink") [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/7934) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 11.11. **注意:**這是用戶指南. 為了使用依賴代理,管理員必須首先對其進行[配置](../../../administration/packages/dependency_proxy.html) . 對于許多組織而言,希望為經常使用的上游映像/程序包提供本地代理. 在 CI / CD 的情況下,代理負責接收請求并從注冊表中返回上游映像,并充當下拉緩存. 依賴項代理在組級別可用. 要訪問它,請導航到組的**Packages&Registries> Dependency Proxy** . [![Dependency Proxy group page](https://img.kancloud.cn/10/e0/10e023541957630811e12c3d930ac46b_1250x679.png)](img/group_dependency_proxy.png) ## Supported dependency proxies[](#supported-dependency-proxies "Permalink") ***注意:**有關代理即將添加的列表,請訪問[指導頁面](https://about.gitlab.com/direction/package/dependency_proxy/#top-vision-items) .* 支持以下依賴代理. | 依賴代理 | GitLab 版本 | | --- | --- | | Docker | 11.11+ | ## Using the Docker dependency proxy[](#using-the-docker-dependency-proxy "Permalink") 借助 Docker 依賴項代理,您可以將 GitLab 用作 Docker 映像的源. 要將 Docker 映像放入依賴代理中: 1. 在" **軟件包和** `gitlab.com/groupname/dependency_proxy/containers` **>"依賴代理"**下的組頁面上找到代理 URL,例如`gitlab.com/groupname/dependency_proxy/containers` . 2. 觸發 GitLab 提取所需的 Docker 映像(例如`alpine:latest`或`linuxserver/nextcloud:latest` ),然后使用以下方法之一將其存儲在代理存儲中: * 手動拉 Docker 鏡像: ``` docker pull gitlab.com/groupname/dependency_proxy/containers/alpine:latest ``` * 從`Dockerfile` : ``` FROM gitlab.com/groupname/dependency_proxy/containers/alpine:latest ``` * In [`.gitlab-ci.yml`](../../../ci/yaml/README.html#image): ``` image: gitlab.com/groupname/dependency_proxy/containers/alpine:latest ``` 然后,GitLab 將從 Docker Hub 中提取 Docker 映像,并將 blob 緩存在 GitLab 服務器上. 下次您提取同一映像時,它將從 Docker Hub 獲取有關該映像的最新信息,但將為 GitLab 提供的現有 Blob 服務. 斑點被永久保存,并且可以存儲多少數據沒有硬性限制. ## Clearing the cache[](#clearing-the-cache "Permalink") 可以使用 GitLab API 清除給定組的依賴項代理緩存,以獲取可能不再需要的圖像 Blob 占用的磁盤空間. 有關更多詳細信息,請參見[依賴項代理 API 文檔](../../../api/dependency_proxy.html) . ## Limitations[](#limitations "Permalink") 適用以下限制: * 僅支持公共組(尚不支持身份驗證). * 僅支持 Docker Hub. * 此功能需要 Docker Hub 可用.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看