docker 查询精选,提示server misbehaving
  1D6o7E39IQo1 2023年11月02日 49 0
错误提示
root@u-master1:~# docker search nginx
Error response from daemon: Get "https://index.docker.io/v1/search?q=nginx&n=25": dial tcp: lookup index.docker.io on 127.0.0.53:53: server misbehaving

docker 查询精选,提示server misbehaving_docker

处理方法
root@u-master1:/etc/docker# vim /etc/resolv.conf 

# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .
nameserver 8.8.8.8
nameserver 114.114.114.114

docker 查询精选,提示server misbehaving_docker_02

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  PVcilKyJJTzb   2023年11月02日   56   0   0 Bashdockergit
  PVcilKyJJTzb   2023年11月02日   53   0   0 nginxdockerhtml
  Q61SiiCoGao8   2023年11月02日   30   0   0 linuxdockerubuntu配置文件
  Q61SiiCoGao8   2023年11月02日   50   0   0 nginxdockerDockerfile
  CZHsu4xuhYFz   2023年11月02日   26   0   0 nginxPoddocker
  jmWSp8RIQOBK   2023年11月02日   36   0   0 MySQLdocker
  PVcilKyJJTzb   2023年11月02日   67   0   0 Bashdocker堆栈
1D6o7E39IQo1
作者其他文章 更多

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13