首页 > 其他分享 >docker拉取镜像报错Bad Request

docker拉取镜像报错Bad Request

时间:2024-06-08 10:33:29浏览次数:13  
标签:Request 拉取 Bad 报错 镜像 docker

问题现象

docker拉取镜像报错Bad Request。

问题分析

cat /etc/systemd/system/docker.service.d/http-proxy.conf

1.1.1.1:80模拟错误的docker代理配置,错误的代理导致镜像拉取失败。

解决问题

注释代理配置。

vim /etc/systemd/system/docker.service.d/http-proxy.conf

重启docker。

systemctl daemon-reload
systemctl restart docker

标签:Request,拉取,Bad,报错,镜像,docker
From: https://www.cnblogs.com/WJQ2017/p/18238376

相关文章

  • Django上传图片时ImageField的max_length报错
    我使用的版本是Django4.2,有一个模型里定义了ImageField,以下面这个为例:classExample(models.Model)image=models.ImageField(blank=True,upload_to=my_image_path,)当我上传图片的时候,django返回了这样一个错误:Ensurethisfilenam......
  • 265 Custom Exceptions(更容易定位报错内容具体是什么)
    优势CustomExceptions相比于ArgumentException/ArgumentNullException,更容易定位报错内容具体是什么,报错内容与具体业务相关。示例新建类库项目Exceptions,为Services/CRUDExample项目添加Exceptions项目引用Exceptions项目中添加InvalidPersonIdException.csnamespac......
  • VS下QT使用QCustomplot报错QPainter::HighQualityAntialiasing': Use Antialiasing in
    @Time:2024-06-07@Error:VS+QT+QCustomplot编译时报错ERROR4995QPainter::HighQualityAntialiasing':UseAntialiasinginstead@原因:使用标记有 deprecated 的函数。参见:/sdl(启用附加安全检查)|MicrosoftLearn @解决办法:关闭编译报错或编译警告;参见:编译器警告(级别3)C4......
  • 在线安装 qt 下载安装慢以及安装报错无法下载存档 not found——解决方式
    一、下载安装QT的在线下载器可以在QT官网下载开源的安装包(需要登陆)或者在各大大学的镜像站中下,比如:mirrors.nju.edu.cn(可选)解压出下载的压缩包,拿到qt-unified-windows-x64-online.exe/dmg/run本体在终端中,输入./包名--mirrorhttps://mirror.nju.edu.cn/qt后......
  • HTTP Status 400 – Bad Request
    1.问题2.原因org.apache.juli.logging.DirectJDKLog:log|ErrorparsingHTTPrequestheaderNote:furtheroccurrencesofHTTPheaderparsingerrorswillbeloggedatDEBUGlevel.java.lang.IllegalArgumentException:Requestheaderistoolargeat......
  • CUBEMX生成freertos代码编译时报错
    按cubemx配置freertos一步步来的,结果发现编译时有151个报错,情况如下SYS配置freertos配置编译后报错使用编译器5,6,6.19都报错,有没有大佬知道解决办法......
  • 【已解决】Python报错Pytorch:ModuleNotFoundError: No module named ‘torch’
    本文摘要:本文已解决Pytorch:ModuleNotFoundError:Nomodulenamed‘torch’的相关报错问题,并总结提出了几种可用解决方案。同时结合人工智能GPT排除可能得隐患及错误。......
  • 【已解决】Python报错 ERROR: Could not find a version that satisfies the requirem
    本文摘要:本文已解决ERROR:Couldnotfindaversionthatsatisfiestherequirement的相关报错问题,并总结提出了几种可用解决方案。同时结合人工智能GPT排除可能得隐患及错误。......
  • QT 关于pcl::oncatenateFields的报错问题
    报错类不能是其自身的基类因为pcl::concatenateFields与PointXYZRGB不兼容viewer.reset(newpcl::visualization::PCLVisualizer("viewer",false));vtkNew<vtkGenericOpenGLRenderWindow>window;window->AddRenderer(viewer->getRendererCollection()-&g......
  • open-webui无法链接ollama 报错ERROR:apps.ollama.main:Connection error: Cannot con
    一个问题找了很久,网上没有现成的答案,我来写一个,方便再遇到的人一、问题1.ollama是使用官方curl-fsSLhttps://ollama.com/install.sh|sh 安装的2. open-webui是docker启动,docker正常启动,使用github推荐的#WebUI与ollama在同一台机器:sudodockerrun-d-p3000:8080......