当我将node alpine与docker一起使用时,它无法正常工作

当我将node alpine与docker一起使用时,它无法正常工作,docker,Docker,我对Docker很陌生。我已经创建了Dockerfile。看起来像这样 FROM node:10.9.0-alpine 当我点击构建docker映像的命令时,它给了我一个错误 manifest for node:10.9.0-alpine not found 有人能帮我解决这个问题吗?谢谢 它在工作 能否检查docker守护进程是否能够从docker注册表中提取图像 为此,请尝试通过执行以下命令从下载的图像中删除hello world图像,然后重试下载 $ docker rmi hello-

我对Docker很陌生。我已经创建了Dockerfile。看起来像这样

FROM node:10.9.0-alpine
当我点击构建docker映像的命令时,它给了我一个错误

manifest for node:10.9.0-alpine not found
有人能帮我解决这个问题吗?谢谢

它在工作

能否检查docker守护进程是否能够从docker注册表中提取图像

为此,请尝试通过执行以下命令从下载的图像中删除hello world图像,然后重试下载

$ docker rmi hello-world
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
9db2ca6ccae0: Pull complete
Digest: sha256:4b8ff392a12ed9ea17784bd3c9a8b1fa3299cac44aca35a85c90c5e3c7afacdc
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/engine/userguide/
如果上面的命令可以正常工作,那么下面的命令也可以正常工作

$ docker pull node:10.9.0-alpine
10.9.0-alpine: Pulling from library/node
8e3ba11ec2a2: Downloading [===========>                                       ]  490.2kB/2.207MB
0cbaf23af500: Downloading [=>                                                 ]  441.1kB/21.4MB
c53714e0a6af: Downloading [====================>                              ]  450.6kB/1.078MB

这可能是由于拉取请求而更新最新映像时的时间或构建问题

有一个问题是,图像已发布就绪,因为其他体系结构已经构建,但是您想要的构建可能需要额外的一个小时


请在5分钟后重试,它通常会自行解决。

请尝试其他节点映像版本
我使用了node:10 jessie图像,但没有再次出现问题

hmm
node:10.9.o-alpine未找到
这看起来像字母
o
,而不是
0
我编辑了问题你是否尝试先拉图像?你所说的“当我点击创建docker图像的命令时”是什么意思?它工作正常。但是,当我尝试提取节点映像时,它给了我一个错误,现在它在清单列表项中显示这是未知的不匹配清单建议的修复不起作用,并且没有回答这一问题。这没有提供问题的答案。一旦你有足够的钱,你将能够;相反使用完全不同的体系结构是可能的,但是如果OP想要使用Alpine而不是Debian呢?