随笔分类 - docker
Kubernetes 容器集群管理系统
摘要:
K8s 1.1、Kubernetes概述: Kubernetes 是 Google 开源的容器集群管理系统,基于Docker构建一个容器的调度服务,提供资源调度,均衡容灾,服务注册、动态扩缩容等功能套件,基于容器的云平台; Kubernetes 基于 Docker 容器的云平台,简称 k8s; op
![Kubernetes 容器集群管理系统](https://img2022.cnblogs.com/blog/1884556/202207/1884556-20220712121120361-1217244450.png)
Another app is currently holding the yum lock; waiting for it to exit...
摘要:
CentOS7下yum升级被PackageKit锁定(docker1) 新安装centos7后,第一次升级出现下面的错误 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:Package
![Another app is currently holding the yum lock; waiting for it to exit...](https://img2022.cnblogs.com/blog/1884556/202207/1884556-20220712121507698-1396601522.png)
docker实操
摘要:
1)设置docker镜像加速 docker安装后默认没有daemon.json这个配置文件,需要进行手动创建。配置文件的默认路径:/etc/docker/daemon.json。 daemon.json文件可配置的参数表,我们在配置的过程中,只需要设置我们需要的参数即可,不必全部写出来。详细参考官网
![docker实操](https://img2022.cnblogs.com/blog/1884556/202207/1884556-20220714123719023-26176694.png)
Dockerfile中常用的指令
摘要:
Dockerfile中常用的指令 FROM 基础镜像COPY 复制文件 ADD 添加文件RUN 要执行的命令CMD 容器启动时要执行的命令EXPOSE 默认向外暴漏端口VOLUME 创建挂载点WORKDIR 工作目录USER 当前操作用户 docker持久化存储数据卷: 数据卷的增、删、改、查 do
![Dockerfile中常用的指令](https://img2022.cnblogs.com/blog/1884556/202207/1884556-20220714123907338-1014773043.png)
docker-primary
摘要:
docker-ce docker网址 https://docs.docker.com/docsarchive/ Docker的安装和启动 官方安装文档链接:https://docs.docker.com/install/linux/docker-ce/centos/ 阿里云安装文档链接: https
![docker-primary](https://img2022.cnblogs.com/blog/1884556/202207/1884556-20220714130655620-1266773583.png)