国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
linux下(centos7)docker安裝

參考鏈接https://docs.docker.com/install/linux/docker-ce/centos/

第一步,確定是centos7及以上版本

cat /etc/redhat-release

CentOS Linux release 7.4.1708 (Core)

第二步,yum安裝gcc相關(guān)

確定centos7可以上外網(wǎng)yum -y install gccyum -y install gcc-c++安裝完成之后,查看gcc版本gcc -vUsing built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapperTarget: x86_64-redhat-linuxConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linuxThread model: posixgcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) 

第三步,卸載舊版本

sudo yum remove docker           docker-client           docker-client-latest           docker-common           docker-latest           docker-latest-logrotate           docker-logrotate           docker-engine          \是連接符

第四步,安裝需要的軟件包

sudo yum install -y yum-utils   device-mapper-persistent-data   lvm2

第五步設(shè)置stable鏡像庫(kù)

# 官方推薦sudo yum-config-manager     --add-repo     https://download.docker.com/linux/centos/docker-ce.repo# 實(shí)際推薦sudo yum yum-config-manager --add-repo http://mirrors.aliyun.com/cloer-re/linux/centos/docker-re.repo

第六步更新yum軟件包索引

yum makecache fast

第七步安裝docker ce

# 官網(wǎng)sudo yum -y install docker-ce docker-ce-cli containerd.io# 尚硅谷yum -y install docker-ce

第八步啟動(dòng)docker

sudo systemctl start docker

第九步測(cè)試

docker versiondocer run hello-world

第十步配置鏡像加速

sudo mkdir -p /etc/dockersudo tee /etc/docker/daemon.json# daemon.json中的內(nèi)容{  "registry-mirrors": ["https://eu2u8bif.mirror.aliyuncs.com"]}# 重新加載daemon.jsonsudo systemctl daemon-reload# 重啟dockersudo systemctl restart docker

第十一步卸載

# 停止dockersystemctl stop docker# 移除dockersudo yum -y remove docker-ce# 移除所有容器/鏡像/數(shù)據(jù)卷sudo rm -rf /var/lib/docker
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
centos7安裝docker
Centos7安裝docker
Centos7上如何安裝docker
Docker 安裝及使用
Linux下安裝gcc 、g++ 、gfortran編譯器
記錄Linux CentOS 7系統(tǒng)完整部署Docker容器環(huán)境教程
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服