
docker
文章平均质量分 77
Web3&Basketball
编程和运动,诗和远方
展开
-
Mac下安装Docker
Mac下安装Docker地址:https://docs.docker.com/docker-for-mac/install/原创 2017-11-10 19:14:08 · 503 阅读 · 0 评论 -
Unable to find a single main class from the following candidates
用docker部署spring cloud微服务的时候,执行mvn package docker:build报如下错误:[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) on project pica-clou...原创 2018-04-24 11:47:52 · 5515 阅读 · 4 评论 -
Docker容器内不能联网的解决方案
Docker容器内不能联网的解决方案pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 docker -d 如果上面出现brctl 无法找到命令,需要安装brctl命令yum install bridge-utils...原创 2018-04-17 20:55:14 · 4226 阅读 · 0 评论 -
Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build Exception caught: basedir src/mai
Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build Exception caught: basedir src/main/docker does not existDeploy Spring Cloud project with docker, some code in the pom.xml:<bui...原创 2018-03-23 11:52:56 · 20777 阅读 · 0 评论 -
Spring Cloud(2) |No plugin found for prefix 'docker' in the current project and in the plugin groups
用docker部署Spring Cloud项目的时候,运行命令:mvn package docker:build报如下错误:at 1.6 KB/sec)Downloaded: http://3.2.4.2:8888/repository/maven-public/org/apache/maven/plugins/maven-metadata.xml (14 KB at 5.7 KB/sec)Dow...原创 2017-11-15 14:54:42 · 13336 阅读 · 7 评论 -
Failed to com.spotify:docker-maven-plugin:HttpHostConnectException:Connect to localhost:2375
在用docker部署Spring Cloud的时候,pom.xml: org.springframework.boot spring-boot-maven-plugin com.原创 2017-11-17 11:07:55 · 8367 阅读 · 0 评论 -
Spring Cloud (1) | java.net.UnknownHostException: eureka-server
在用docker 部署spring cloud项目的时候,执行以下命令:docker run -p 8761:8761 -t space/eureka-serverdocker run -p 8763:8763 -t space/service-rocket会报以下错误:com.sun.jersey.api.client.ClientHandlerException: ja原创 2017-11-18 16:50:53 · 11364 阅读 · 0 评论 -
Docker stop停止/remove删除所有容器以及常用命令
$ docker ps // 查看所有正在运行容器$ docker stop containerId // containerId 是容器的ID$ docker ps -a // 查看所有容器$ docker ps -a -q // 查看所有容器ID$ docker rm $(docker ps -a -q) // 删除所有容器原创 2017-12-01 17:22:57 · 173112 阅读 · 12 评论 -
Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
在用Docker部署Spring Cloud项目的时候,执行:mvn package docker:build命令,报如下错误:[ERROR] [ERROR] Some problems were encountered while processing the POMs:[ERROR] Non-resolvable import POM: Failure to find org.sp原创 2017-11-15 20:45:45 · 9628 阅读 · 0 评论 -
Docker 常用命令
Docker常用命令:帮助命令:docker --help查看versiondocker --version查看所有镜像docker images查看所有containersdocker psdocker images:列出本地所有镜像docker search :查找imagedocker pull :下载image原创 2017-11-18 14:17:06 · 1338 阅读 · 0 评论 -
docker: No port specified: 8763:<empty>
在执行以下命令的时候:docker run -p 8763: 8763 -t space/service-rocket报错:docker: No port specified: 8763:.See 'docker run --help'.根据提示,正确的写法是"8763: 8763"中间不要空格:docker run -p 8763:8763 -t spa原创 2017-11-18 15:29:46 · 5464 阅读 · 0 评论 -
Nexus Repository Manager 3 installing with Docker
https://github.com/sonatype/docker-nexus3https://help.sonatype.com/display/NXRM3/Installation#Installation-InstallingwithDockerCentos中安装Docker, 参考:https://www.linuxtechi.com/install-d原创 2017-10-12 21:20:48 · 648 阅读 · 0 评论