java
yaoyyyxin
这个作者很懒,什么都没留下…
展开
-
Docker run 容器使用-v挂载目录总会启动失败的解决方案
问题:docker run一个容器,并且挂载了目录;但是总是启动失败【docker ps 后发现没有启动】[root@localhost tomcat]# docker run -d -p 9090:8080 -v /home/dockerfile/tomcat/test:/usr/local/apache-tomcat-8.5.61/webapps/test -v /home/dockerfile/tomcat/logs/:/usr/local/apache-tomcat-8.5.61/logs --n原创 2021-01-19 23:07:22 · 2721 阅读 · 1 评论 -
多个JDK的安装和环境变量修改
使用注解版springmvc遇到了以下bug:Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn‘t supported yet: file ;nested exception is java.lang.IllegalArgumentExceptio原创 2020-12-23 15:17:06 · 161 阅读 · 0 评论 -
docker的安装以及docker安装mysql和redis
一 虚拟机安装docker下载虚拟机VM VirtualBox管理—>导入虚拟电脑–>选择准备好的Centos7---->加载输入用户名和密码后,输入ip addr查看到虚拟机的ip地址,打开连接虚拟机的客户端SmarTTY,输入ip等信息。连接成功。docker安装命令如下:1.查看内核版本 <Docker 要求 CentOS 系统的内核版本高于 3.10> uname -r 2.把yum包更新到最新 sudo yum update原创 2020-12-19 18:58:52 · 154 阅读 · 1 评论 -
docker启动时的错误:Job for docker.service failed because the control process exited with error code.
docker启动时:报错信息: Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.解决方法参考:https://blog.csdn.net/zhangbeizhen18/article/details/85239758https://my.oschi原创 2020-12-19 15:53:18 · 805 阅读 · 1 评论