博客园  :: 首页  :: 新随笔  :: 联系 :: 管理

2019年10月29日

摘要: 在线安装docker 以下操作步骤均在root用户下操作 1、 检查内核是否符合要求 Docker 要求 Centos系统的内核版本高于 3.10 ,建议在Centos 7版本命令如下: 执行过程如下: [root@localhost yum.repos.d]# uname -r3.10.0-693 阅读全文

posted @ 2019-10-29 13:59 Mr.智 阅读(1730) 评论(0) 推荐(0) 编辑

摘要: 关闭防火墙 阅读全文

posted @ 2019-10-29 13:29 Mr.智 阅读(205) 评论(0) 推荐(0) 编辑

摘要: 1、添加启动服务 添加docker开机启动服务 [root@localhost ~]# systemctl enable docker.serviceCreated symlink from /etc/systemd/system/multi-user.target.wants/docker.ser 阅读全文

posted @ 2019-10-29 13:27 Mr.智 阅读(394) 评论(0) 推荐(0) 编辑

摘要: 1 备份原始源 [root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2 下载新的镜像源 方法1:wget直接下载执行命令: wget -O /etc/yum 阅读全文

posted @ 2019-10-29 13:24 Mr.智 阅读(1683) 评论(0) 推荐(0) 编辑