<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ### 卸載舊版本 ``` sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-selinux \ docker-engine-selinux \ docker-engine ``` ### 使用yum安裝 ``` sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 sudo yum-config-manager \ --add-repo \ https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo ``` ### 安裝Docker ``` sudo yum makecache fast sudo yum install docker-ce curl -fsSL get.docker.com -o get-docker.sh sudo sh get-docker.sh --mirror Aliyun ``` ## 啟動 Docker CE ``` sudo systemctl enable docker sudo systemctl start docker ``` ### 配置docker加速器 ``` sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": [ "https://1nj0zren.mirror.aliyuncs.com", "https://docker.mirrors.ustc.edu.cn", "http://f1361db2.m.daocloud.io", "https://registry.docker-cn.com"/etc/docker/daemon.json } EOF sudo systemctl daemon-reload sudo systemctl restart docker ``` 或者 ``` vim /etc/docker/daemon.json { "registry-mirrors": [ "https://1nj0zren.mirror.aliyuncs.com", "https://docker.mirrors.ustc.edu.cn", "http://f1361db2.m.daocloud.io", "https://registry.docker-cn.com"/etc/docker/daemon.json } ``` ## Docker Hub 鏡像加速器列表 ### 卸載docker ``` rpm -qa|grep docker yum -y remove containerd.io.x86_64 ``` ### ![](https://img.kancloud.cn/67/62/67627aabcf2b884b0fdc5e28942edf80_666x119.png) ``` 鏡像加速器地址 ``` | 鏡像加速器 | 鏡像加速器地址 | 專屬加速 | 其他加速 | | :--- | :--- | :--- | :--- | | [Docker 中國官方鏡像](https://docker-cn.com/registry-mirror) | `https://registry.docker-cn.com` | | Docker Hub | | [DaoCloud 鏡像站](https://daocloud.io/mirror) | `http://f1361db2.m.daocloud.io` | 可登錄,系統分配 | Docker Hub | | [Azure 中國鏡像](https://github.com/Azure/container-service-for-azure-china/blob/master/aks/README.md#22-container-registry-proxy) | `https://dockerhub.azk8s.cn` | | Docker Hub、GCR、Quay | | [科大鏡像站](https://mirrors.ustc.edu.cn/help/dockerhub.html) | `https://docker.mirrors.ustc.edu.cn` | | Docker Hub、[GCR](https://github.com/ustclug/mirrorrequest/issues/91)、[Quay](https://github.com/ustclug/mirrorrequest/issues/135) | | [阿里云](https://cr.console.aliyun.com) | `https://<your_code>.mirror.aliyuncs.com` | 需登錄,系統分配 | Docker Hub | | [七牛云](https://kirk-enterprise.github.io/hub-docs/#/user-guide/mirror) | `https://reg-mirror.qiniu.com` | | Docker Hub、GCR、Quay | | [網易云](https://c.163yun.com/hub) | `https://hub-mirror.c.163.com` | | Docker Hub | | [騰訊云](https://cloud.tencent.com/document/product/457/9113) | `https://mirror.ccs.tencentyun.com` | | Docker Hub | ## 檢查加速器是否生效 命令行執行`docker info`,如果從結果中看到了如下內容,說明配置成功。 ``` Registry Mirrors: [...] https://registry.docker-cn.com/ ``` ### 查看容器 ``` docker ps -a ``` ![](https://img.kancloud.cn/31/a9/31a945a4297ba847ce2d1e81b0ec8deb_1452x138.png) ### 停止容器 ``` docker stop 容器ID ## 上圖的有一串字符串的就是容器ID ``` ### 刪除容器 ``` docker rm 容器ID ## 需要先停止容器,才能進行刪除 ``` ### 查看鏡像 ``` docker images ``` ![](https://img.kancloud.cn/87/9a/879a9e22c812b3ba715894dd7019c4f3_800x129.png) ### 刪除鏡像 ``` docker rmi 鏡像ID ## 和刪除容器操作差不多 ```
                  <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>

                              哎呀哎呀视频在线观看