docker - Dockerfile 从 nexus 存储库中提取
问题描述
FROM nexus-repo/image:latest
当我尝试构建时,我的 dockerfile 指向一个私有的 nexus 存储库
,我得到了一个Could not build image: received unexpected HTTP status: 503 Service Unavailable
我事先登录了,运行docker pull nexus-repo/image:latest
正常。这个问题的原因可能是什么?
解决方案
推荐阅读
- sql-server - 如何动态分配日期?
- laravel-eloquent-resource - 返回结果后如何更改laravel eloquent模型中关系字段中的数据?
- protractor - w3c : false 在 chrome 选项下断言什么?
- excel - 使用大小为 1 的整数或整数数组更好吗?
- rest - 如何在 Swagger 响应中指定特定参数而不是使用“allOf”?
- wxwidgets - 如何禁用 wxWebView 浏览器的缩放?
- node.js - 在节点中解析 x509 证书字符串
- java - 如何在不同的片段中添加后按按钮?
- c++ - libevent 是否允许在不同的线程中运行定时器/io 的回调?
- ruby - 我们如何将 chef 中的 bash 资源输出输出到文件中?