docker
5xp_2001
这个作者很懒,什么都没留下…
展开
-
core dns 无法解析 [已解决]
记录一次coredns无法工作排查结果原创 2023-01-04 15:42:53 · 2547 阅读 · 2 评论 -
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The connection to the server localhost:8080 was refused - did you specify the right host or port?原创 2022-08-30 15:27:53 · 5106 阅读 · 1 评论 -
容器化配置启动redis集群 单机6节点 3主3从
OS:CentOS Linux release 7.9.2009 (Core)docker-ce-20.10.12-3.el7.x86_641. 创建集群网卡docker network create redis --subnet 172.38.0.0/162. 创建配置文件for port in $(seq 1 6);domkdir -p /mydata/redis/node-${port}/conftouch /mydata/redis/node-${port}/conf/r原创 2022-02-23 16:30:45 · 1455 阅读 · 4 评论 -
docker 匿名挂载 具名挂载
原创 2022-02-08 19:15:47 · 820 阅读 · 0 评论 -
docker build Tomcat jdk 发版环境
version: centos7[root@localhost dockerfile]# docker -vDocker version 20.10.6, build 370c289[root@localhost dockerfile]# cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)1.编写dockerfileFROM centosMAINTAINER xp<xp@qq.com>COPY ...原创 2021-07-22 20:24:31 · 122 阅读 · 0 评论 -
删除容器镜像报错解决image is referenced in multiple repositories
环境版本:docker versionClient: Docker Engine - CommunityVersion: 20.10.6cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)报错解决:Error response from daemon: conflict: unable to delete c0e850d7b9bb (must be forced) - image is ref...原创 2021-06-29 11:54:08 · 251 阅读 · 0 评论 -
docker1
docker笔记 乱序# 包安装 https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable/Packages/docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm使用yum安装 参见文档vi /usr/lib/systemd/system/docker.service 加上-H ...原创 2018-07-05 19:04:39 · 275 阅读 · 1 评论 -
pip安装docker-compose
不知道是不是安装salt后升级python-urllib3导致pip无法使用卸载后重新源码安装 源码安装: 1 wget --no-check-certificate https://github.com/pypa/pip/archive/9.0.1.tar.gz 注意:wget获取https的时候需要加上:--n...原创 2018-08-10 15:56:32 · 4621 阅读 · 0 评论 -
k8s etcd 部署笔记
k8s部署文档 mkdir -p /opt/kubernetes/{cfg,bin,ssl,log} #每个机器建立标准目录结构上传kubernetes到172.21.120.121的/usr/local/src上传cfssl到/usr/local/src 剪切到/usr/sbincfssl print-defaults config > config.json #修改...原创 2018-09-03 21:08:41 · 669 阅读 · 2 评论