当前位置:首页 > Linux > 正文内容

Centos7 安装Docker 最快捷的方法

chanra1n7年前 (2019-12-03)Linux8991
#一键安装Docker
yum clean dbcache && yum clean metadata && yum clean rpmdb && yum clean headers && yum clean all && rm -rf /var/cache/yum/timedhosts.txt && rm -rf /var/cache/yum/* &&yum -y update&& yum makecache
yum -y install deltarpm
yum -y install docker
service docker start

如果出现错误,请运行

sudo yum update
curl -fsSL https://get.docker.com/ | sh

在您安装了Docker以后,请运行

sudo systemctl enable docker && sudo systemctl start docker

它能够使得你的Docker开机启动

扫描二维码推送至手机访问。

版权声明:本文由我的FPGA发布,如需转载请注明出处。

本文链接:https://world.myfpga.cn/index.php/post/69.html

分享给朋友:

“Centos7 安装Docker 最快捷的方法” 的相关文章

Ubuntu或Debian 安装Kali工具集

Ubuntu或Debian 安装Kali工具集

sudo su git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin ch...

一键升级Centos6 Python至2.7.9 并安装宝塔

一键升级Centos6 Python至2.7.9 并安装宝塔

#直接复制运行命令即可 curl -o install.sh http://download.myfpga.cn/linux/centos/pythonandbt.sh && sh install.sh...

一键解决KALI中文乱码问题

一键解决KALI中文乱码问题

echo "deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib" >> /etc/apt/sour...

Gi945/Fi945 BIOS 终极修改版 V1.6.7

Gi945/Fi945 BIOS 终极修改版 V1.6.7

点击直接下载:GI945.BIN另外附上原版有锁BIOSgi945有锁版.bin...

MW788刷NR285G固件

MW788刷NR285G固件

netcore(NR285G).zip...

爱快登录面板API

爱快登录面板API

接口名:登录面板API接口地址:路由器管理地址+/Action/login接口调用方式:POST参数1:username    用户名参数2:passwd    密码,为输入密码的MD5加密,32位小写参数3:pass&...