docker - docker:创建容器时出错:400 客户端错误:错误请求(\“无效的参考格式\”)“
问题描述
在尝试为 ppc64le 构建 awx 映像(ansibe 有效)时,出现以下情况。
TASK [image_build : Build AWX distribution using container] ***************************************************************************************************************************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": "Error creating container: 400 Client Error: Bad Request (\"invalid reference format\")"}
to retry, use: --limit @/root/awx/installer/install.retry
PLAY RECAP ****************************************************************************************************************************************************************************************************
localhost : ok=10 changed=3 unreachable=0 failed=1
我如何才能看到后台真正发生的事情,ia 可以查看的任何详细的 docker 锁?消息本身对我来说有点没用。我已经将 ansible 设置为详细,但这也无济于事。
解决方案
Docker 映像名称只能由小写 (az) 字符组成。您提供的图像名称不受支持,或者传递给 buid(或容器)的变量(或路径)无法解析。
要启用调试日志,请将“--debug”添加到 docker 守护进程(/etc/systemd/system/multi-user.target.wants/docker.service 用于基于 systemd 的 linux 环境)
供参考:https ://docs.docker.com/config/daemon/#configure-the-docker-daemon
推荐阅读
- logging - 气流未将日志写入基本日志文件夹
- javascript - 如何让我的键盘读取按键并将其显示在下面的框中?
- c++ - 在抽象类的具体实现中内部调用装饰函数
- ios - iOS Objective C - 协调器和模型应该从 NSObject 继承吗?
- google-apps-script - 如何根据列标准将工作表中的行附加到 GoogleSheets 中的另一个工作表
- c# - 在 Asp.Net MVC 中为 Authorize 属性存储用户列表的最佳方法是什么?
- python - 将包上传到 PyPi - 但无法访问任何模块?
- entity-framework - CS7036:没有给出与所需的形式参数相对应的参数
- python - 有哪些评估聚类相似性的方法?
- python - 在多个文件中使用但在函数调用后未更改的全局变量(Python)