摘要: docker datavolume 数据卷实际上宿主机上的目录或者文件,可以被直接mount到容器中使用。 实现容器内的数据进行持久化保存。 创建APP目录并生成文件 [root@192 data]# mkdir /root/data [root@192 data]# echo "aaaaaa" > 阅读全文
posted @ 2018-07-11 21:53 hexintong 阅读(102) 评论(0) 推荐(0) 编辑
摘要: k8s 学习环境准备工作 在阿里云下载k8s验证的docker版本,即17.03.2 https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable/Packages/ 准备虚拟机 谷歌的容器下载地址 https://console 阅读全文
posted @ 2018-07-11 10:53 hexintong 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2018-07-11 09:11 hexintong 阅读(44) 评论(0) 推荐(0) 编辑