您现在的位置是:Linux安装Docker
Linux安装Docker
yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum makecache fast yum -y install docker-ce service docker start vi /etc/docker/daemon.json { "registry-mirrors": ["https://*****.mirror.aliyuncs.com"] } systemctl daemon-reload systemctl restart docker
yum源
[root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# ll total 44 -rw-r--r--. 1 root root 2573 Mar 21 2017 CentOS-Base.repo -rw-r--r--. 1 root root 1664 Nov 30 2016 CentOS-Base.repo.backup
Docker加速
[root@localhost ~]# cat /etc/docker/daemon.json { "registry-mirrors": ["https://*****.mirror.aliyuncs.com"] }
站长简介
姓名:喻理
微信:yuli0927
邮箱:yuli0927@126.com
不懂业务的运维工程师不是一个好程序员。
微信:yuli0927
邮箱:yuli0927@126.com
不懂业务的运维工程师不是一个好程序员。
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- 到ICANN投诉三五互联获取域名转移密码成功
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- CentOS使用chkconfig提示systemctl enable xxxx.service
- PHP将B转换为KB、MB、GB
- Apache禁用TRACE Method和添加X-frame-options响应头
- mysqld_safe Number of processes running now
- 构建微信公众号被动回复image图片消息xml