文章分类 -  devops

摘要:docker数据卷 数据卷可在容器之间共享或数据重用 卷中更改可以实时生效,任何一个更改都会同步到另一个 容器stop后,宿主机的修改待容器启动后也能看到 数据卷中的更改不会包含在镜像的更新中 数据卷的生命周期一直持续到没有容器使用为止 命令 docker -itd -v 宿主机目录:容器目录:ro 阅读全文
posted @ 2024-01-29 20:18 shog808 阅读(7) 评论(0) 推荐(0) 编辑
摘要:Docker安装 添加源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors. 阅读全文
posted @ 2024-01-10 23:15 shog808 阅读(4) 评论(0) 推荐(0) 编辑
摘要:添加源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.co 阅读全文
posted @ 2023-12-31 14:34 shog808 阅读(3) 评论(0) 推荐(0) 编辑
摘要:k8s学习记录 1.单机容器编排 docker-compose.yml 2.多宿主机容器编排(k8s) 学法 先安装好玩起来 学习原理 学习 k8s安装 k8s-master etcd 、 kube-apiserver 、 kube-controller-manager 、 kubectl 、 ku 阅读全文
posted @ 2023-12-31 14:24 shog808 阅读(11) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示