![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Docker
文章平均质量分 61
不知春夏,不知秋冬
不知春夏,不知秋冬。
展开
-
Docker部署ActiveMq
Docker快速部署脚本原创 2022-06-30 17:12:21 · 2142 阅读 · 0 评论 -
删除无用<none>:<none >的docker镜像
文章:https://blog.csdn.net/ljlfather/article/details/105536588可知dangling镜像会占磁盘空间,而且其他的none属于中间镜像不会占用空间。1.查看dangling的镜像docker images查看none镜像docker images -f dangling=true2.删除所有dangling镜像docker rmi $(docker images -f dangling=true -q)docker image转载 2021-09-01 08:57:12 · 195 阅读 · 0 评论 -
Docker容器中SpringBoot项目存储logs打印日志
1.application.yml配置mybatis: mapper-locations: classpath:mybatis/mapper/*.xml configuration: map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpllogging: level: root: info com: jyk原创 2021-08-30 10:17:54 · 2019 阅读 · 0 评论 -
linux如何离线加载docker镜像?
linux如何离线加载docker镜像?1. 在已经部署了镜像的机器上获取镜像1.1 获取镜像名 docker images1.2 打包选中对应的镜像docker save <image_name> -o <image_name>.tar2. 在将要使用的机器上部署需要的镜像2.1 加载镜像docker load -i <image_name>.tar2.2 运行镜像docker run -p 8081:8080 -d <image_nam转载 2021-08-18 09:05:03 · 325 阅读 · 0 评论 -
Docker下拉mysql镜像失败
docker错误信息:Get https://registry-1.docker.io/v2/: x509: failed to load system roots and no roots provided1.修改加速地址vim /etc/docker/daemon.json{ "registry-mirrors": ["http://hub-mirror.c.163.com", "https://registry.docker-cn.com"], "live-restore": tru原创 2021-08-17 16:01:30 · 565 阅读 · 0 评论 -
coding构建部署Docker 容器的springboot项目
Coding持续集成实现远程部署运行项目:Java + Spring + Docker原理:coding通过ssh私钥凭证访问服务器,执行项目的脚本使用git下拉最新代码并打包运行。一.Git免登录下拉Coding代码linux中免登录下拉Coding代码:https://blog.csdn.net/qq_40286424/article/details/118359130附上:Docker文件FROM openjdk:8-jdk-alpineRUN echo "Asia/Shanghai"原创 2021-07-01 13:36:39 · 1410 阅读 · 2 评论 -
Caused by: java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)
Springboot项目连接数据库报错:Caused by: java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)项目环境:项目和数据库在Docker中运行,并配置有mysql容器的docker网络parkingmysql。原因:1.密码错误。2.application.yml中数据库账号地址错误。一般是 jdbc:mysql://localhost:3306/databas原创 2021-05-06 13:11:20 · 1483 阅读 · 0 评论 -
Docker之安装Redis和常用命令
参数说明:-p 6379:6379:映射容器服务的 6379 端口到宿主机的 6379 端口。外部可以直接通过宿主机ip:6379 访问到 Redis 的服务。转载 2020-11-09 11:34:13 · 94 阅读 · 0 评论 -
Dokcer部署SpringBoot项目
转自:https://www.jianshu.com/p/397929dbc27d1.创建springboot项目创建springboot项目package com.eangulee.demo.controller;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bi转载 2020-11-06 11:21:03 · 232 阅读 · 0 评论