![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
docker
sunshine_程序媛
没有什么代码的执行速度比空代码更快。
展开
-
docker错误
1.docker启动失败 # systemctl start docker 问题:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 解决...原创 2019-06-14 17:24:33 · 414 阅读 · 0 评论 -
关于docker 基于一个tomcat镜像来部署多个tomcat容器并运行
48dd385504b1为tomcat镜像id 1,再创建1个tomcat容器(外部访问端口分别为8081/8082) # docker run --name tomcat8081 -d -p 8081:8080 48dd385504b1 2,copy war包到容器(以一个容器为例) # docker inspect -f '{{.Id}}' 容器名 # docker inspect ...原创 2019-06-14 17:37:01 · 2111 阅读 · 0 评论