Docker 搜索找到图像,但无法拉取
Docker search finds image, but can't pull
我需要构建一个 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
➜ ~
所以这里出了什么问题?
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
。
我需要构建一个 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
➜ ~
所以这里出了什么问题?
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
。