随笔分类 -  Docker

摘要:在客户端使用命令登录报错 # docker login -u root -p password 192.168.3.61 报错信息如下 Error response from daemon: login attempt to http://192.168.3.61/v2/ failed with s 阅读全文
posted @ 2024-05-23 14:49 minseo 阅读(596) 评论(0) 推荐(0) 编辑
摘要:Harbor安装参考 https://www.cnblogs.com/minseo/p/8905736.html Harbor数据需要从一台主机迁移至另外一台主机 原主机备份数据 备份数据文件夹,该数据文件夹配置在配置文件harbor.yml 把数据文件移动到目标主机 目标主机安装Harbor 安装 阅读全文
posted @ 2024-05-18 17:59 minseo 阅读(555) 评论(0) 推荐(0) 编辑
摘要:故障现象,把docker从24版本升级至26版本之后从客户端pull nfs-client-provisioner镜像时报错报错信息如下 # docker pull quay.io/external_storage/nfs-client-provisioner:latest latest: Pull 阅读全文
posted @ 2024-05-16 10:20 minseo 阅读(5782) 评论(0) 推荐(0) 编辑
摘要:使用命令在终端登录harbor报错 报错信息如下 # docker login 192.168.3.61 Authenticating with existing credentials... Stored credentials invalid or expired Username (admin 阅读全文
posted @ 2024-05-16 09:05 minseo 阅读(406) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.cnblogs.com/pitaiyang/p/17975041 报错信息 nginx-ingress-controller限制上传文件大小为1M如果上传文件大于1M则会在浏览器报以下错误 # Request Entity Too Large 解决方法 修改ingre 阅读全文
posted @ 2024-03-18 17:39 minseo 阅读(510) 评论(0) 推荐(0) 编辑
摘要:需要使用Docker镜像运行Python代码 编写Dockefile文件 示例如下 # 需要使用的镜像版本 FROM python:3.11 # 代码工作目录 WORKDIR /code # 拷贝依赖文件 COPY requirements.txt requirements.txt # 安装依赖 R 阅读全文
posted @ 2024-03-05 11:52 minseo 阅读(161) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.56yhz.com/md/docker_deployment/zh-CN 安装Docker 不详述 配置国内加速器 不详述 安装docker-compose 不详述 安装git 不详述 开始部署 拉取代码 #### 拉取代码 git clone https://git 阅读全文
posted @ 2024-02-28 11:58 minseo 阅读(862) 评论(0) 推荐(0) 编辑
摘要:参考: https://zhuanlan.zhihu.com/p/568513293 使用Jenkins构建时使用的用户为jenkins 在使用docker命令时会报以下错误 ERROR: permission denied while trying to connect to the Docker 阅读全文
posted @ 2024-02-23 10:31 minseo 阅读(599) 评论(0) 推荐(0) 编辑
摘要:参考Github: https://github.com/kubernetes/kompose kompose工具用于将docker-compose配置文件转换的k8s可识别的yaml文件 安装 CentOS安装 # yum install epel-release # yum install ko 阅读全文
posted @ 2024-02-07 11:00 minseo 阅读(728) 评论(0) 推荐(1) 编辑
摘要:参考: https://www.cnblogs.com/hengdin/articles/17838930.html docker容器如果需要在开机实现自启动可以在启动的时候加以下参数 --restart=always 例如启动一个MySQL容器需要开机自启则使用以下命令启动容器 # docker 阅读全文
posted @ 2024-02-04 14:38 minseo 阅读(1584) 评论(0) 推荐(1) 编辑
摘要:redis的镜像默认是没有鉴权的,需要鉴权则需要设置配置文件 下载最新redis镜像 # docker pull redis:7.2.4 设置配置文件和Dockerfile redis配置文件 # cat redis.conf bind 0.0.0.0 port 6379 timeout 0 tcp 阅读全文
posted @ 2024-01-31 16:31 minseo 阅读(87) 评论(0) 推荐(0) 编辑
摘要:普罗米修斯教程参考 https://www.cnblogs.com/minseo/category/1688718.html 本文介绍怎么使用docker搭建 系统和软件版本 # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 阅读全文
posted @ 2023-12-19 10:14 minseo 阅读(317) 评论(0) 推荐(0) 编辑
摘要:环境查看 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0- 阅读全文
posted @ 2023-11-07 17:55 minseo 阅读(444) 评论(2) 推荐(0) 编辑
摘要:环境查看 安装docker和docker-compose apt -y install docker.io docker-compose 设置docker-compose配置文件 root@iZ2zebcd9hncu1371fetliZ:/data/docker-compose# pwd /data 阅读全文
posted @ 2023-06-20 13:59 minseo 阅读(214) 评论(0) 推荐(0) 编辑
摘要:使用Docker启动端口无法telnet https://blog.csdn.net/lyd135364/article/details/118369692 #echo 1 > /proc/sys/net/ipv4/ip_forward # sysctl -p 阅读全文
posted @ 2022-09-01 20:18 minseo 阅读(718) 评论(0) 推荐(0) 编辑
摘要:本文参考 https://blog.csdn.net/qq_41999034/article/details/110942059 docker容器启动报错 报错内容如下 Error response from daemon: error creating overlay mount to /var/ 阅读全文
posted @ 2022-04-14 13:46 minseo 阅读(1625) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.zentao.net/book/zentaopmshelp/40.html 前提条件 安装配置好docker服务器一台 docker版本大于18.0 下载镜像 下载最新镜像 docker pull easysoft/zentao:latest 启动 docker run 阅读全文
posted @ 2022-02-10 15:43 minseo 阅读(539) 评论(0) 推荐(0) 编辑
摘要:使用docker-compose快速搭建LAMP环境 前提条件 安装配置好docker docker-compose的任意Linux主机一台 目录结构如下 tree . ├── docker-compose.yml ├── lamp │ └── Dockerfile ├── mysql │ ├── 阅读全文
posted @ 2022-01-28 18:54 minseo 阅读(634) 评论(0) 推荐(0) 编辑

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