【问题标题】:Docker search finds image, but can't pullDocker 搜索找到图像,但无法拉取
【发布时间】:2015-03-09 21:44:07
【问题描述】:

我需要构建一个32-bit Ubuntu 映像,所以我这样做了

➜  ~  docker search 32bit/ubuntu  
NAME                                       DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
32bit/ubuntu                               Ubuntu for i386 (32bit)                         9                    
32bit/ubuntu-upstart                       ubuntu-upstart for i386 (32bit)                 1                    
pgeraghty/casperjs_slimerjs_ubuntu_32bit                                                   0                    [OK]
pgeraghty/slimerjs_ubuntu_32bit                                                            0                    [OK]
cato1971/ubuntu                            Base 32-bit Ubuntu image from cato1971/ubu...   0                    [OK]
osrf/ubuntu_32bit                          Ubuntu 32bit images                             0                    
cato1971/ubuntu-32bit                      Base Ubuntu 32 bit image                        0                    
souzaonofre/ubuntu-32bits                  Ubuntu 32bits images                            0                    
➜  ~  docker pull 32bit/ubuntu 
Pulling repository 32bit/ubuntu
FATA[0001] Tag latest not found in repository 32bit/ubuntu 
➜  ~  

那么这里出了什么问题?

【问题讨论】:

    标签: docker dockerhub docker-registry


    【解决方案1】:

    32bit/ubuntu 不是图像,而是包含一个或多个图像的存储库,每个图像由一个标签标识。不指定标签时,Docker 默认使用标签latest,但32bit/ubuntu:latest 不存在。 As we can see on the repository's page on the Docker Hub Registry,唯一可用的标签是14.04,所以你需要拉(并运行)32bit/ubuntu:14.04

    【讨论】:

    • 太棒了!感谢您的明确解释。 docker pull 32bit/ubuntu:14.04 为我工作。
    猜你喜欢
    • 2020-06-29
    • 2017-11-28
    • 1970-01-01
    • 1970-01-01
    • 2021-08-01
    • 2019-10-04
    • 1970-01-01
    • 2019-07-15
    • 1970-01-01
    相关资源
    最近更新 更多