国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

linux doker版本從18.09.8安裝升級(jí)到20.10.12

這篇具有很好參考價(jià)值的文章主要介紹了linux doker版本從18.09.8安裝升級(jí)到20.10.12。希望對大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

1.查看docker原來的版本

# docker --version
Docker version 18.09.8, build 0dd43dd87f

2.安裝20.10.12的版本

2.1安裝yum-utils包(它提供了yum-config-manager實(shí)用程序)并設(shè)置穩(wěn)定的存儲(chǔ)庫。

# sudo yum install -y yum-utils
Loaded plugins: fastestmirror
Repository 'kubernetes': Error parsing config: Error parsing "repo_gpgcheck = '0 # \xe8\xae\xbe\xe7\xbd\xae1\xe4\xbc\x9a\xe6\xa0\xa1\xe9\xaa\x8c\xe6\x8a\xa5\xe9\x94\x99'": invalid boolean value
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-53.el7 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-53.el7.noarch
--> Running transaction check
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================
 Package                                 Arch                            Version                                 Repository                         Size
=========================================================================================================================================================
Installing:
 yum-utils                               noarch                          1.1.31-53.el7                           ai-local                          122 k
Installing for dependencies:
 python-kitchen                          noarch                          1.1.1-5.el7                             ai-local                          267 k

Transaction Summary
=========================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 388 k
Installed size: 1.7 M
Downloading packages:
(1/2): yum-utils-1.1.31-53.el7.noarch.rpm                                                                                         | 122 kB  00:00:00     
(2/2): python-kitchen-1.1.1-5.el7.noarch.rpm                                                                                      | 267 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                    969 kB/s | 388 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-kitchen-1.1.1-5.el7.noarch                                                                                                     1/2 
  Installing : yum-utils-1.1.31-53.el7.noarch                                                                                                        2/2 
  Verifying  : yum-utils-1.1.31-53.el7.noarch                                                                                                        1/2 
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                                                                                     2/2 

Installed:
  yum-utils.noarch 0:1.1.31-53.el7                                                                                                                       

Dependency Installed:
  python-kitchen.noarch 0:1.1.1-5.el7                                                                                                                    

Complete!

2.2 makecache

# yum makecache
Loaded plugins: fastestmirror
Repository 'kubernetes': Error parsing config: Error parsing "repo_gpgcheck = '0 # \xe8\xae\xbe\xe7\xbd\xae1\xe4\xbc\x9a\xe6\xa0\xa1\xe9\xaa\x8c\xe6\x8a\xa5\xe9\x94\x99'": invalid boolean value
Loading mirror speeds from cached hostfile
ai-local                                                                                                                          | 3.6 kB  00:00:00     
docker-ce-stable                                                                                                                  | 3.5 kB  00:00:00     
foot                                                                                                                              | 2.9 kB  00:00:00     
paas                                                                                                                              | 2.9 kB  00:00:00     
(1/4): docker-ce-stable/7/x86_64/updateinfo                                                                                       |   55 B  00:00:00     
(2/4): docker-ce-stable/7/x86_64/filelists_db                                                                                     |  45 kB  00:00:00     
(3/4): docker-ce-stable/7/x86_64/primary_db                                                                                       | 111 kB  00:00:00     
(4/4): docker-ce-stable/7/x86_64/other_db                                                                                         | 133 kB  00:00:00     
Metadata Cache Created

2.3 刪除原來的包

# sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
Loaded plugins: fastestmirror
Repository 'kubernetes': Error parsing config: Error parsing "repo_gpgcheck = '0 # \xe8\xae\xbe\xe7\xbd\xae1\xe4\xbc\x9a\xe6\xa0\xa1\xe9\xaa\x8c\xe6\x8a\xa5\xe9\x94\x99'": invalid boolean value
No Match for argument: docker
No Match for argument: docker-client
No Match for argument: docker-client-latest
No Match for argument: docker-common
No Match for argument: docker-latest
No Match for argument: docker-latest-logrotate
No Match for argument: docker-logrotate
No Match for argument: docker-engine
No Packages marked for removal

2.4 安裝指定的docker版本

# yum install docker-ce-20.10.12 docker-ce-cli-20.10.12 containerd.io
Loaded plugins: fastestmirror
Repository 'kubernetes': Error parsing config: Error parsing "repo_gpgcheck = '0 # \xe8\xae\xbe\xe7\xbd\xae1\xe4\xbc\x9a\xe6\xa0\xa1\xe9\xaa\x8c\xe6\x8a\xa5\xe9\x94\x99'": invalid boolean value
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.6-3.3.el7 will be updated
---> Package containerd.io.x86_64 0:1.6.21-3.1.el7 will be an update
---> Package docker-ce.x86_64 3:18.09.8-3.el7 will be updated
---> Package docker-ce.x86_64 3:20.10.12-3.el7 will be an update
--> Processing Dependency: docker-ce-rootless-extras for package: 3:docker-ce-20.10.12-3.el7.x86_64
---> Package docker-ce-cli.x86_64 1:18.09.8-3.el7 will be updated
---> Package docker-ce-cli.x86_64 1:20.10.12-3.el7 will be an update
--> Processing Dependency: docker-scan-plugin(x86-64) for package: 1:docker-ce-cli-20.10.12-3.el7.x86_64
--> Running transaction check
---> Package docker-ce-rootless-extras.x86_64 0:24.0.2-1.el7 will be installed
--> Processing Dependency: fuse-overlayfs >= 0.7 for package: docker-ce-rootless-extras-24.0.2-1.el7.x86_64
--> Processing Dependency: slirp4netns >= 0.4 for package: docker-ce-rootless-extras-24.0.2-1.el7.x86_64
---> Package docker-scan-plugin.x86_64 0:0.23.0-3.el7 will be installed
--> Running transaction check
---> Package fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 will be installed
--> Processing Dependency: libfuse3.so.3(FUSE_3.2)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3(FUSE_3.0)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3()(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64
---> Package slirp4netns.x86_64 0:0.4.3-4.el7_8 will be installed
--> Running transaction check
---> Package fuse3-libs.x86_64 0:3.6.1-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================
 Package                                      Arch                      Version                                Repository                           Size
=========================================================================================================================================================
Updating:
 containerd.io                                x86_64                    1.6.21-3.1.el7                         docker-ce-stable                     34 M
 docker-ce                                    x86_64                    3:20.10.12-3.el7                       docker-ce-stable                     23 M
 docker-ce-cli                                x86_64                    1:20.10.12-3.el7                       docker-ce-stable                     30 M
Installing for dependencies:
 docker-ce-rootless-extras                    x86_64                    24.0.2-1.el7                           docker-ce-stable                    9.1 M
 docker-scan-plugin                           x86_64                    0.23.0-3.el7                           docker-ce-stable                    3.8 M
 fuse-overlayfs                               x86_64                    0.7.2-6.el7_8                          paas                                 54 k
 fuse3-libs                                   x86_64                    3.6.1-4.el7                            paas                                 82 k
 slirp4netns                                  x86_64                    0.4.3-4.el7_8                          paas                                 81 k

Transaction Summary
=========================================================================================================================================================
Install             ( 5 Dependent packages)
Upgrade  3 Packages

Total download size: 100 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for docker-ce-stable
warning: /var/cache/yum/x86_64/7/docker-ce-stable/packages/containerd.io-1.6.21-3.1.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Public key for containerd.io-1.6.21-3.1.el7.x86_64.rpm is not installed
(1/8): containerd.io-1.6.21-3.1.el7.x86_64.rpm                                                                                    |  34 MB  00:00:03     
(2/8): docker-ce-cli-20.10.12-3.el7.x86_64.rpm                                                                                    |  30 MB  00:00:03     
(3/8): docker-ce-rootless-extras-24.0.2-1.el7.x86_64.rpm                                                                          | 9.1 MB  00:00:01     
(4/8): fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm                                                                                    |  54 kB  00:00:00     
(5/8): fuse3-libs-3.6.1-4.el7.x86_64.rpm                                                                                          |  82 kB  00:00:00     
(6/8): slirp4netns-0.4.3-4.el7_8.x86_64.rpm                                                                                       |  81 kB  00:00:00     
(7/8): docker-ce-20.10.12-3.el7.x86_64.rpm                                                                                        |  23 MB  00:00:08     
(8/8): docker-scan-plugin-0.23.0-3.el7.x86_64.rpm                                                                                 | 3.8 MB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                     12 MB/s | 100 MB  00:00:08     
Retrieving key from https://download.docker.com/linux/centos/gpg
Importing GPG key 0x621E9F35:
 Userid     : "Docker Release (CE rpm) <docker@docker.com>"
 Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
 From       : https://download.docker.com/linux/centos/gpg
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                        1/11 
  Installing : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                  2/11 
  Installing : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                     3/11 
  Updating   : containerd.io-1.6.21-3.1.el7.x86_64                                                                                                  4/11 
  Installing : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                               5/11 
  Updating   : 1:docker-ce-cli-20.10.12-3.el7.x86_64                                                                                                6/11 
  Installing : docker-ce-rootless-extras-24.0.2-1.el7.x86_64                                                                                        7/11 
  Updating   : 3:docker-ce-20.10.12-3.el7.x86_64                                                                                                    8/11 
/usr/bin/dockerd has not been configured as an alternative for dockerd
  Cleanup    : 3:docker-ce-18.09.8-3.el7.x86_64                                                                                                     9/11 
  Cleanup    : containerd.io-1.2.6-3.3.el7.x86_64                                                                                                  10/11 
  Cleanup    : 1:docker-ce-cli-18.09.8-3.el7.x86_64                                                                                                11/11 
  Verifying  : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                               1/11 
  Verifying  : 1:docker-ce-cli-20.10.12-3.el7.x86_64                                                                                                2/11 
  Verifying  : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                  3/11 
  Verifying  : containerd.io-1.6.21-3.1.el7.x86_64                                                                                                  4/11 
  Verifying  : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                     5/11 
  Verifying  : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                        6/11 
  Verifying  : docker-ce-rootless-extras-24.0.2-1.el7.x86_64                                                                                        7/11 
  Verifying  : 3:docker-ce-20.10.12-3.el7.x86_64                                                                                                    8/11 
  Verifying  : containerd.io-1.2.6-3.3.el7.x86_64                                                                                                   9/11 
  Verifying  : 1:docker-ce-cli-18.09.8-3.el7.x86_64                                                                                                10/11 
  Verifying  : 3:docker-ce-18.09.8-3.el7.x86_64                                                                                                    11/11 

Dependency Installed:
  docker-ce-rootless-extras.x86_64 0:24.0.2-1.el7         docker-scan-plugin.x86_64 0:0.23.0-3.el7         fuse-overlayfs.x86_64 0:0.7.2-6.el7_8        
  fuse3-libs.x86_64 0:3.6.1-4.el7                         slirp4netns.x86_64 0:0.4.3-4.el7_8              

Updated:
  containerd.io.x86_64 0:1.6.21-3.1.el7               docker-ce.x86_64 3:20.10.12-3.el7               docker-ce-cli.x86_64 1:20.10.12-3.el7              

Complete!

2.5 查看,docker版本

# docker --version
Docker version 20.10.12, build e91ed57

文章來源地址http://www.zghlxwxcb.cn/news/detail-475785.html

到了這里,關(guān)于linux doker版本從18.09.8安裝升級(jí)到20.10.12的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 解決node升級(jí)到18版本node-sass安裝問題

    為了研究下chatgpt,node升級(jí)到18版本了,結(jié)果之前的項(xiàng)目都gg了,跑不起來了,一看就是node-sass不被支持了,版本要更新,解決方案如下: 首先系統(tǒng)環(huán)境變量增加一項(xiàng): 修改對應(yīng)項(xiàng)目里面的package.json的node-sass和sass-loader版本號(hào): 刪除項(xiàng)目的package.json.lock和yarn.lock這兩個(gè)文件,最

    2024年02月11日
    瀏覽(19)
  • 【linux離線升級(jí)gcc版本---gcc4.8.5-->gcc12.2.0】

    【linux離線升級(jí)gcc版本---gcc4.8.5-->gcc12.2.0】

    ??【上一篇】 ??The Begin?? 點(diǎn)點(diǎn)關(guān)注,收藏不迷路?? 【下一篇】?? GCC(GNU Compiler Collection,GNU編譯器套件)是由GNU開發(fā)的編程語言編譯器。GNU編譯器套件包括C、C++、 Objective-C、 Fortran、Java、Ada和Go語言前端,也包括了這些語言的庫(如libstdc++,libgcj)等。 centos 7默認(rèn)安裝的

    2024年02月13日
    瀏覽(29)
  • 實(shí)驗(yàn)09 DS18B20及LCD 1602(溫度檢測與顯示)

    實(shí)驗(yàn)09 DS18B20及LCD 1602(溫度檢測與顯示)

    文末有源文件! 實(shí)驗(yàn)內(nèi)容:單片機(jī)開機(jī)讀取 ds18b20 檢測到的溫度,并顯示在 1602 上,精確到0.1度;能顯示超過100的溫度和零下溫度。溫度值后面要加上符號(hào):℃ 提示:在lcd 1602上總共需要6位顯示溫度值: ???. ?℃ 其中的.和℃都是固定位置的固定符號(hào),可在程序里寫好。

    2024年02月08日
    瀏覽(13)
  • jupyter lab build失敗,提示需要安裝版本>=12.0.0的nodejs但其實(shí)已從官網(wǎng)安裝18.17.0版本 的解決方法

    jupyter lab build失敗,提示需要安裝版本>=12.0.0的nodejs但其實(shí)已從官網(wǎng)安裝18.17.0版本 的解決方法

    出現(xiàn)的問題如題目所示,這個(gè)問題差點(diǎn)要把我搞死了。。。但還是在沒有重裝的情況下解決了??。 初衷是想安裝lsp擴(kuò)展,直接在jupyter lab網(wǎng)頁界面的extensions中搜索lsp并點(diǎn)擊install @krassowski/jupyterlab-lsp,會(huì)提示需要先在命令行進(jìn)行 pip install jupyter-lsp 或者使用 conda install jupyter-

    2024年02月13日
    瀏覽(17)
  • Linux 3.10 GCC版本太低升級(jí)到5.2.0

    Linux 3.10 GCC版本太低升級(jí)到5.2.0

    某次升級(jí)內(nèi)核,執(zhí)行make menuconfig報(bào)當(dāng)前版本太低,現(xiàn)場版本為4.8.5,需要升級(jí)到5.1.0版本以上,查看官網(wǎng)后,決定升級(jí)到5.20版本。注:GCC依賴于gmp 4.2+, mpfr 2.4+和mpc 0.8+,報(bào)錯(cuò)如下: 官方說明:https://gcc.gnu.org/install/index.html;https://gcc.gnu.org/;https://ftp.gnu.org/gnu/gcc/gcc-5.2.0/

    2024年02月14日
    瀏覽(21)
  • Qt下載安裝教程,windows10親測可用,版本5.12.11

    Qt下載安裝教程,windows10親測可用,版本5.12.11

    下載地址(不是官網(wǎng),官網(wǎng)太慢了): Index of / https://download.qt.io/ 打開網(wǎng)址后,選擇合適的下載版本,? ? ? ? 之所以用一個(gè)大標(biāo)題,是我在這耽誤了半天,氣死。 在雙擊打開的exe文件之前,非常建議?。。∠热ス倬W(wǎng)的注冊賬號(hào)頁面進(jìn)行注冊! 注冊Qt賬號(hào)地址: Qt Account Logi

    2024年02月05日
    瀏覽(27)
  • Ubuntu18.04 升級(jí)Ubuntu20.04

    Ubuntu18.04 升級(jí)Ubuntu20.04

    因項(xiàng)目環(huán)境需要,欲將Ubuntu18.04升級(jí)至Ubuntu20.04,參考網(wǎng)上其他小伙伴的方法,也遇到了一個(gè)問題,特此記錄一下,希望能幫助其他有同樣問題的小伙伴。 參考:第十五章 Ubuntu18.04LTS升級(jí)到20.04LTS 主要的步驟: 在執(zhí)行“do-release-upgrade”時(shí),遇到“Failed to connect to https://changel

    2024年02月02日
    瀏覽(28)
  • Linux(Ubuntu20)下安裝Qt5.12.8 包含直接命令行安裝(2)

    Linux(Ubuntu20)下安裝Qt5.12.8 包含直接命令行安裝(2)

    一、下載 Index of /archive/qt/5.12/5.12.8 linux下載.run即可 二、安裝 1.下載完成后在終端打開下載的路徑 ?2.賦予執(zhí)行權(quán)限 并執(zhí)行 sudo chmod +x qt-opensource-linux-x64-5.12.8.run ./qt-opensource-linux-x64-5.12.8.run 3..之后的步驟與Windows下安裝一致? 三、命令行安裝(可選) 除了直接下載.run文件安裝

    2023年04月08日
    瀏覽(19)
  • linux系統(tǒng)docker版本升級(jí)或安裝

    linux系統(tǒng)docker版本升級(jí)或安裝

    最好先將鏡像導(dǎo)出保存,以免升級(jí)后丟失或者無法使用 如有正在運(yùn)行的容器,先停止 關(guān)閉docker服務(wù) 查看已經(jīng)安裝的docker 將其卸載掉 確定已經(jīng)安裝curl命令,沒有安裝,則運(yùn)行 運(yùn)行命令安裝 安裝完成后會(huì)有提醒 意思是: 當(dāng)要以非root用戶可以直接運(yùn)行docker時(shí),需要執(zhí)行 sud

    2024年04月12日
    瀏覽(19)
  • Linux查看已安裝軟件版本

    在Linux中,可以使用以下命令來查看軟件版本: 1、使用命令“軟件名 --version”來查看軟件版本,例如: 2、使用命令“軟件名 -v”來查看軟件版本,例如: 3、使用命令“rpm -q 軟件名”來查看已安裝的軟件版本,例如: 4、使用命令“dpkg -l 軟件名”來查看已安裝的軟件版本

    2024年02月13日
    瀏覽(17)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包