在许多图像类型上运行docker pull / run时出错。这只是一个例子。
docker run --rm -it -p 4040:4040 gettyimages/spark bin/run-example SparkPi 10
ERRO[63011] Handler for POST /v1.22/containers/create returned error: No such image: gettyimages/spark:latest
Unable to find image 'gettyimages/spark:latest' locally
ERRO[63011] Handler for POST /v1.22/images/create returned error: unsupported manifest mediatype: application/vnd.docker.distribution.manifest.v1+prettyjws
docker: Error response from daemon: unsupported manifest mediatype: application/vnd.docker.distribution.manifest.v1+prettyjws.
docker version
Client:
Version: 1.10.0-rc1
API version: 1.22
Go version: go1.5.3
Git commit: 677c593
Built: Fri Jan 15 18:17:17 2016
OS/Arch: linux/amd64
Server:
Version: 1.10.0-rc1
API version: 1.22
Go version: go1.5.3
Git commit: 677c593
Built: Fri Jan 15 18:17:17 2016
OS/Arch: linux/amd64
答案 0 :(得分:0)
您需要更新docker;您正在运行docker 1.10.0的候选版本。更新到最新版本(1.10.3),其中包含自第一个候选版本
以来的各种修复程序