【发布时间】:2019-04-11 21:34:23
【问题描述】:
我正在尝试在 Redhat OpenShift 上部署示例 .NET Core 应用程序,但每次构建都失败并显示“无法提取构建器映像”消息。
以下是日志:
Cloning "https://github.com/redhat-developer/s2i-dotnetcore-ex.git " ...
Commit: 1ded43a7b3737ac31e31eee352134fd7c8c0d424 (Update for 2.1 release.)
Author: Tom Deseyn <tom.deseyn@gmail.com>
Date: Mon May 28 10:08:30 2018 +0200
Pulling image "docker-registry.default.svc:5000/openshift/dotnet@sha256:d27fa8df1866765695ba0d2bcc74337732eeddffcaf51759fd4d080fc92d6305" ...
pulling image error : Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
error: build error: unable to get docker-registry.default.svc:5000/openshift/dotnet@sha256:d27fa8df1866765695ba0d2bcc74337732eeddffcaf51759fd4d080fc92d6305
请注意,整个构建过程在 Openshift 中是自动化的,无需我提供任何输入。我没有使用 CLI 工具。刚刚用 DotNet2.1 创建了一个新项目。甚至 github 存储库链接也是 Openshift 为 DotNetCore 提供的示例项目。
【问题讨论】:
标签: docker .net-core openshift redhat