我想 jetty 化我的spring-boot / spring-cloud应用程序。

docker-compose.yml:

eureka:
  build: ./eureka-discovery-service
  ports:
    - "8761:8761"

mongodb:
  image: mongo:3.0.4
  ports:
    - "32768:32768"

postgresql:
  image: postgresql:9.6-2
  ports:
    - "5432:5432"

gateway-service:
  build: ./gateway-service
  ports:
    - "9090:9090"
  links:
    - eureka

airplane-service:
  build: ./airplane-service
  ports:
    - "2222:2222"
  links:
    - eureka
    - postgresql

car-service:
  build: ./car-service
  ports:
    - "2220:2220"
  links:
    - eureka
    - mongodb

machine-service:
  build: ./machine-service
  ports:
    - "2224:2224"
  links:
    - eureka

进行docker-compose时出现以下错误消息:
Pulling postgresql (postgresql:9.6-2)...
ERROR: repository postgresql not found: does not exist or no pull access

如何解决这个问题,为什么我会有这个问题?

最佳答案

图片名称应为postgres:9.6.4

关于docker - 不存在或没有拉取权限(Docker撰写),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45722421/

10-16 08:33