Docker-compose 来自守护进程的错误响应:nginx:1.15-alphine 未找到清单:清单未知:清单未知
Docker-compose Error response from daemon: manifest for nginx:1.15-alphine not found: manifest unknown: manifest unknown
我有 docker 撰写项目。下面是项目结构。
$ tree .
├── conf
│ └── default.conf
└── docker-compose.yaml
下面是conf/default.conf
文件-
upstream bankservers {
server 172.17.0.1:6565
server 172.17.0.1:7575
}
server {
listen 8585 http2;
location / {
grpc_pass grpc://bankservers
}
}
下面是docker-compose.yaml
-
version: "3"
services:
nginx:
image: nginx:1.15-alphine
volumes:
- .conf:/etc/nginx/conf.f
ports:
- 80:8585
当我 运行 docker-compose up 时,出现以下错误
$ sudo docker-compose up
[+] Running 0/1
⠿ nginx Error 0.7s
Error response from daemon: manifest for nginx:1.15-alphine not found: manifest unknown: manifest unknown
您只是打错了字。图片应该是 nginx:1.15-alpine
当在 docker hub 上找不到图像时,docker-compose 显然无法解析 yml 并给我们一个非常漂亮的自我解释错误消息。
manifest for nginx:1.15-alphine not found: manifest unknown: manifest unknown
我有 docker 撰写项目。下面是项目结构。
$ tree .
├── conf
│ └── default.conf
└── docker-compose.yaml
下面是conf/default.conf
文件-
upstream bankservers {
server 172.17.0.1:6565
server 172.17.0.1:7575
}
server {
listen 8585 http2;
location / {
grpc_pass grpc://bankservers
}
}
下面是docker-compose.yaml
-
version: "3"
services:
nginx:
image: nginx:1.15-alphine
volumes:
- .conf:/etc/nginx/conf.f
ports:
- 80:8585
当我 运行 docker-compose up 时,出现以下错误
$ sudo docker-compose up [+] Running 0/1 ⠿ nginx Error 0.7s Error response from daemon: manifest for nginx:1.15-alphine not found: manifest unknown: manifest unknown
您只是打错了字。图片应该是 nginx:1.15-alpine
当在 docker hub 上找不到图像时,docker-compose 显然无法解析 yml 并给我们一个非常漂亮的自我解释错误消息。
manifest for nginx:1.15-alphine not found: manifest unknown: manifest unknown