执行docker pull hyperledger/caliper时报错
执行docker pull hyperledger/caliper时报错
qwe@ubuntu:~$ docker pull hyperledger/caliper
Using default tag: latest
Error response from daemon: manifest for hyperledger/caliper:latest not found: manifest unknown: manifest unknown
错误解释:
使用docker pull命令的时候没有标识TAG(镜像的版本标签),所以使用默认的tag也就是latest
结果我们从docker的守护进程(daemon)得到了错误的回应:在docker hub里没有找到tag为latest的hyperledger/caliper
解决方法:
加上版本号:
qwe@ubuntu:~$ docker pull hyperledger/caliper:0.4.0 0.4.0: Pulling from hyperledger/caliper e7c96db7181b: Pull complete 50958466d97a: Downloading [========> ] 3.668MB/21.85MB 56174ae7ed1d: Download complete 284842a36c0d: Pulling fs layer 8fe16129c41a: Waiting 6d9fe8e0cc47: Waiting 5050958466d97a: Downloading 6.646MB/21.85MB 50958466d97a: Pull complete 56174ae7ed1d: Pull complete 284842a36c0d: Pull complete 8fe16129c41a: Pull complete 6d9fe8e0cc47: Pull complete e8065a6f29b6: Pull complete Digest: sha256:7e353e250455385891c07c67de62077d9056b75fae2023602cc39eab00907eb5 Status: Downloaded newer image for hyperledger/caliper:0.4.0 docker.io/hyperledger/caliper:0.4.0
显示下载完成:
qwe@ubuntu:~$ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu latest d70eaf7277ea 10 days ago 72.9MB hyperledger/caliper 0.4.0 6491b4ec891d 4 weeks ago 356MB hello-world latest bf756fb1ae65 10 months ago 13.3kB
附上找版本号的方法: