mac上docker pull是报错Error response from daemon: Get https://xx.xx.xx.xx/v2/: Service Unavailable

执行docker pull xx.xx.xx.xx/xx/xx,下载私有库的镜像时报错如下:

Error response from daemon: Get https://xx.xx.xx.xx/v2/: Service Unavailable

原因大概是docker默认支持https的协议,而私有库是http的协议。

mac桌面可以在Preferences-->Docker Engine里配置以下代码,xx.xx.xx.xx是自己私有库的地址。

{
    "insecure-registries":[
        "xx.xx.xx.xx"
    ]
}

centos系统,修改 /etc/docker/daemon.json,也是新增如下代码。

{
    "insecure-registries":[
        "xx.xx.xx.xx"
    ]
}

原文地址:https://www.cnblogs.com/kkvt/p/12381156.html

时间: 2024-11-05 22:04:49

mac上docker pull是报错Error response from daemon: Get https://xx.xx.xx.xx/v2/: Service Unavailable的相关文章

docker pull / docker login 报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509

docker pull 和 docker login 的时候报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for bw-production.space, brickworksoftware.com, *.bw-production.space, *.brickworksoftware.com, not registry-1.docker.io 从报错

docker从私有镜像库pull/push镜像问题:Error response from daemon: Get https://harbor.op.xxxx.com/v2/: x509: certificate signed by unknown authority

环境centos7+docker 1.17 解决方法:1. 添加https证书,方法自己搜下2. 加--insecure-registry参数 配置文件位置/usr/lib/systemd/system/docker.serviceExecStart=/usr/bin/dockerd --insecure-registry harbor.op.xxxx.com 之前也搜到过ExecStart=/usr/bin/docker daemon -H fd:// --insecure-registry=

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

sudo docker run hello-world docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).See 'docker run --help'. 修改docker镜像源: docke

docker启动时报错Error response from daemon: driver failed programming external connectivity on endpoint *

公司服务器由于断电重启,部署在docker服务上的一些web服务需要重新开启容器, [root@localhost ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d77c2c6b3650 chandao:latest "/app/docker-entrypo…" 7 days ago Up About an hour 0.0.0.0:7075->80/tcp chandao 当重新开启容器的

docker端口映射或启动容器时报错Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen

现象: [[email protected] ~]# docker run -d -p 9000:80 centos:httpd /bin/sh -c /usr/local/bin/start.shd5b2bd5a7bc4895a973fe61efd051847047d26385f65c278aaa09e4fa31c4d76docker: Error response from daemon: driver failed programming external connectivity on

storm单机运行报错 ERROR backtype.storm.daemon.executor -

单机本地运行storm报错: 错误如下: java.lang.NullPointerException: null at test2.Spot2.nextTuple(Spot2.java:27) ~[classes/:na] at backtype.storm.daemon.executor$fn__3371$fn__3386$fn__3415.invoke(executor.clj:572) ~[storm-core-0.9.6.jar:0.9.6] at backtype.storm.uti

Mac上安装mysqlclient的报错

[背景] 今天我把算把自己的python基础平台从python-3.6.2升级到python-3.7.2,在我安装完python-3.7.2之后,打算在此基础之上安装 mysqlclient的时候报错了: pip3 install mysqlclient Collecting mysqlclient Downloading https://files.pythonhosted.org/packages/de/d7/919042fb7ed78a89e21c4e43d5daed90d5df18ec1

上传App Store报错 ERROR ITMS-90171,90209

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at  Your app can't contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles

使用docker报错 :Error response from daemon: Get https://index.docker.io/v1/search?q=java&n=25: dial tcp:

查看服务器DNS网络配置 vim /etc/resolv.conf 把里面的内容注释,并改为: nameserver 8.8.8.8 nameserver 8.8.8.4 重启网络服务 systemctl restart network 即可 原文地址:https://www.cnblogs.com/zhengyuanyuan/p/11830308.html