ubuntu12.04 - docker pull ubuntu 总是出错
巴扎黑
巴扎黑 2017-04-22 08:55:37
0
3
1081

从docker的索引中下载ubuntu时总是报如下错:

Error while retrieving image for tag: (strconv.ParseInt: parsing "": invalid syntax); checking next endpoint

运行的命令:
docker pull ubuntu
或者
docker pull learn/tutorial
报的错误是一样的

大家有遇到过类似的情况吗?是怎么解决的

巴扎黑
巴扎黑

reply all (3)
巴扎黑

Found a way:
Missed two places:
1. Add Docker’s repository to your local keystore

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9

2. Install according to the official simple installation script. I don’t know why the docker pull ubuntu installation always fails

curl -s https://get.docker.io/ubuntu/ | sh

3. If you want to change the version, change it through docker pull ubuntu:12.04

    阿神

    Is the Internet connection normal? The domestic Internet is sometimes very speechless.

      黄舟

      Is the Internet connection normal? The domestic Internet is sometimes very speechless. Another reason is that it is blocked.

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!